aboutsummaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAndrew J. Schorr <aschorr@telemetry-investments.com>2014-09-30 09:55:51 -0400
committerAndrew J. Schorr <aschorr@telemetry-investments.com>2014-09-30 09:55:51 -0400
commit2072cca806ac43a5ee0d422749e9e0c5f7611d47 (patch)
tree17efe386750e9edabc771bec29cee8fa44ed8cbe /main.c
parent67676f7332c2fa2ab6eb4411993fa77e92df5828 (diff)
downloadegawk-2072cca806ac43a5ee0d422749e9e0c5f7611d47.tar.gz
egawk-2072cca806ac43a5ee0d422749e9e0c5f7611d47.tar.bz2
egawk-2072cca806ac43a5ee0d422749e9e0c5f7611d47.zip
Fix minor bug: the "-h" option should not require an argument.
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.c b/main.c
index 645a4561..03decbb8 100644
--- a/main.c
+++ b/main.c
@@ -212,7 +212,7 @@ main(int argc, char **argv)
/*
* The + on the front tells GNU getopt not to rearrange argv.
*/
- const char *optlist = "+F:f:v:W;bcCd::D::e:E:gh:i:l:L:nNo::Op::MPrStVY";
+ const char *optlist = "+F:f:v:W;bcCd::D::e:E:ghi:l:L:nNo::Op::MPrStVY";
bool stopped_early = false;
int old_optind;
int i;