From df627c90b4d657b5fc929f4bc87fb884bb7d8d1a Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 12 Jul 2022 05:20:02 -0500 Subject: [PATCH] Fix comment: short options can have optional arguments. --- lib/args.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/args.c b/lib/args.c index 36745148..442f0406 100644 --- a/lib/args.c +++ b/lib/args.c @@ -65,7 +65,7 @@ // % time offset in milliseconds with optional s/m/h/d suffix // (longopt) // | this is required. If more than one marked, only one required. -// ; long option's argument is optional (can only be supplied with --opt=) +// ; Option's argument is optional, and must be collated: -aARG or --a=ARG // ^ Stop parsing after encountering this argument // " " (space char) the "plus an argument" must be separate // I.E. "-j 3" not "-j3". So "kill -stop" != "kill -s top" -- 2.39.2