projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e9f7fa
)
Accept -foo as well as --foo for options
author
Jens Axboe
<jens.axboe@oracle.com>
Thu, 1 Mar 2007 13:23:28 +0000
(14:23 +0100)
committer
Jens Axboe
<jens.axboe@oracle.com>
Thu, 1 Mar 2007 13:23:28 +0000
(14:23 +0100)
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
init.c
patch
|
blob
|
blame
|
history
diff --git
a/init.c
b/init.c
index 194242439dc93b61b4126ce8a1a9fa3808b08980..2259edf5afee0b3396b89f245ae0c1223afe0726 100644
(file)
--- a/
init.c
+++ b/
init.c
@@
-1223,7
+1223,7
@@
static int parse_cmd_line(int argc, char *argv[])
struct thread_data *td = NULL;
int c, ini_idx = 0, lidx, ret, dont_add_job = 0;
- while ((c = getopt_long(argc, argv, "", long_options, &lidx)) != -1) {
+ while ((c = getopt_long
_only
(argc, argv, "", long_options, &lidx)) != -1) {
switch (c) {
case 't':
def_timeout = atoi(optarg);