svn commit: r327578 - head/usr.bin/units

Eitan Adler eadler at FreeBSD.org
Fri Jan 5 07:24:44 UTC 2018


Author: eadler
Date: Fri Jan  5 07:24:43 2018
New Revision: 327578
URL: https://svnweb.freebsd.org/changeset/base/327578

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

Modified:
  head/usr.bin/units/units.c

Modified: head/usr.bin/units/units.c
==============================================================================
--- head/usr.bin/units/units.c	Fri Jan  5 07:14:39 2018	(r327577)
+++ head/usr.bin/units/units.c	Fri Jan  5 07:24:43 2018	(r327578)
@@ -763,7 +763,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