time/add-help-opt.patch

14 lines
386 B
Diff
Raw Normal View History

diff --git a/src/time.c b/src/time.c
index 7e07995..231e8cb 100644
--- a/src/time.c
+++ b/src/time.c
@@ -657,7 +657,7 @@ getargs (argc, argv)
if (format)
output_format = format;
- while ((optc = getopt_long (argc, argv, "+af:o:pqvV", longopts, (int *) 0))
+ while ((optc = getopt_long (argc, argv, "+af:ho:pqvV", longopts, (int *) 0))
!= EOF)
{
switch (optc)