diff options
author | Daniel Bristot de Oliveira <bristot@redhat.com> | 2020-08-28 21:21:03 +0200 |
---|---|---|
committer | Daniel Bristot de Oliveira <bristot@redhat.com> | 2020-08-28 21:21:03 +0200 |
commit | 93d70b241474acb502785ddf2b1b8d5553170b0f (patch) | |
tree | 7d4db4f3ff3d04f7bd78f41610fef983a18fb0c7 | |
parent | abe5fe5000aa8d03481ff26750281cb66e0b17eb (diff) | |
download | stalld-93d70b241474acb502785ddf2b1b8d5553170b0f.tar.gz |
stalld: -s does not require argument
Fix -s option: it does not require an argument.
Reported-by: Jiri Mencak <jmencak@redhat.com>
Signed-off-by: Daniel Bristot de Oliveira <bristot@redhat.com>
-rw-r--r-- | src/stalld.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stalld.c b/src/stalld.c index 34a26c7..815d52b 100644 --- a/src/stalld.c +++ b/src/stalld.c @@ -930,7 +930,7 @@ int parse_args(int argc, char **argv) /* getopt_long stores the option index here. */ int option_index = 0; - c = getopt_long(argc, argv, "lvkfAhs:p:r:d:t:c:", + c = getopt_long(argc, argv, "lvkfAhsp:r:d:t:c:", long_options, &option_index); /* Detect the end of the options. */ |