diff options
author | midipix <writeonce@midipix.org> | 2024-02-13 03:10:11 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-02-13 03:13:49 +0000 |
commit | c578162753123ea7d2746d2032ceb439c7c31d32 (patch) | |
tree | 686bee282ea50e6eb7854259a2e02ef350b26997 /src/driver/slbt_split_argv.c | |
parent | 32c2302764dce9380c427b748bc634825d08a2f7 (diff) | |
download | slibtool-c578162753123ea7d2746d2032ceb439c7c31d32.tar.bz2 slibtool-c578162753123ea7d2746d2032ceb439c7c31d32.tar.xz |
driver: rename --config as --info in anticipation of a compatible --config.
Diffstat (limited to 'src/driver/slbt_split_argv.c')
-rw-r--r-- | src/driver/slbt_split_argv.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/driver/slbt_split_argv.c b/src/driver/slbt_split_argv.c index 2ad62ca..946468e 100644 --- a/src/driver/slbt_split_argv.c +++ b/src/driver/slbt_split_argv.c @@ -51,7 +51,7 @@ int slbt_split_argv( struct argv_entry * mode; struct argv_entry * help; struct argv_entry * version; - struct argv_entry * config; + struct argv_entry * info; struct argv_entry * finish; struct argv_entry * features; struct argv_entry * ccwrap; @@ -117,8 +117,8 @@ int slbt_split_argv( return -1; } - /* missing all of --mode, --help, --version, --config, --dumpmachine, --features, and --finish? */ - mode = help = version = config = finish = features = ccwrap = dumpmachine = aropt = 0; + /* missing all of --mode, --help, --version, --info, --dumpmachine, --features, and --finish? */ + mode = help = version = info = finish = features = ccwrap = dumpmachine = aropt = 0; for (entry=meta->entries; entry->fopt; entry++) if (entry->tag == TAG_MODE) @@ -127,8 +127,8 @@ int slbt_split_argv( help = entry; else if (entry->tag == TAG_VERSION) version = entry; - else if (entry->tag == TAG_CONFIG) - config = entry; + else if (entry->tag == TAG_INFO) + info = entry; else if (entry->tag == TAG_FINISH) finish = entry; else if (entry->tag == TAG_FEATURES) @@ -155,7 +155,7 @@ int slbt_split_argv( return -1; } - if (!mode && !help && !version && !config && !finish && !features && !dumpmachine && !altmode) { + if (!mode && !help && !version && !info && !finish && !features && !dumpmachine && !altmode) { slbt_dprintf(fderr, "%s: error: --mode must be specified.\n", program); |