aboutsummaryrefslogtreecommitdiff
path: root/flag.go
diff options
context:
space:
mode:
authorAlex Ogier <[email protected]>2012-05-04 14:26:58 -0400
committerAlex Ogier <[email protected]>2012-05-04 14:28:47 -0400
commitebc6c1c8473b96d9b32221757aa80b647610e238 (patch)
tree2db553e20ac98c3eeda8079888df8647d21af00e /flag.go
parent8999eae83e7efe65a6ad1860c7f9ce5cf3c9b679 (diff)
Document the spaceless shortcut argument format -Ifile
Diffstat (limited to 'flag.go')
-rw-r--r--flag.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/flag.go b/flag.go
index 74685b8..0bca41b 100644
--- a/flag.go
+++ b/flag.go
@@ -73,6 +73,8 @@
-abc // all flags must be boolean
-abcn=1234
-abcn 1234 // n must be non-boolean
+ -abcn1234 // n must be non-boolean
+ -Ifile // I must be non-boolean
Flag parsing stops after the terminator "--". Unlike the flag package,
flags can be interspersed with arguments anywhere on the command line