svn commit: r327686 - stable/11/usr.bin/units

Eitan Adler eadler at FreeBSD.org
Mon Jan 8 00:57:30 UTC 2018


Author: eadler
Date: Mon Jan  8 00:57:28 2018
New Revision: 327686
URL: https://svnweb.freebsd.org/changeset/base/327686

Log:
  MFC r327578:
  
  units(1): add missing ':' for two short arguments
  
  PR:           209850

Modified:
  stable/11/usr.bin/units/units.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/usr.bin/units/units.c
==============================================================================
--- stable/11/usr.bin/units/units.c	Mon Jan  8 00:10:45 2018	(r327685)
+++ stable/11/usr.bin/units/units.c	Mon Jan  8 00:57:28 2018	(r327686)
@@ -761,7 +761,7 @@ main(int argc, char **argv)
 	history_file = NULL;
 	outputformat = numfmt;
 	quit = false;
-	while ((optchar = getopt_long(argc, argv, "+ehf:oqtvHUV", longopts, NULL)) != -1) {
+	while ((optchar = getopt_long(argc, argv, "+ehf:o:qtvH:UV", longopts, NULL)) != -1) {
 		switch (optchar) {
 		case 'e':
 			outputformat = "%6e";


More information about the svn-src-all mailing list