chore(tfm): remove -V option
This commit is contained in:
parent
9795b4dc2d
commit
cb2de0658f
@ -27,7 +27,6 @@ Options:
|
||||
-t <tanzaku_id or name> Tanzaku menu
|
||||
-c <sasa_id>-<tanzaku_id> Kazari menu (can only be used with the '-s' or '-u' option)
|
||||
-w Weed (defragment) database
|
||||
-V Print version and exit
|
||||
|
||||
No database connected
|
||||
```
|
||||
|
||||
@ -402,7 +402,7 @@ int main(int argc, char **argv) {
|
||||
}
|
||||
}
|
||||
}
|
||||
const char *shortopts = "hI:O:isuef:t:c:wV";
|
||||
const char *shortopts = "hI:O:isuef:t:c:w";
|
||||
char *abspath = NULL;
|
||||
int opt;
|
||||
_Bool opt_i = 0;
|
||||
@ -437,7 +437,6 @@ int main(int argc, char **argv) {
|
||||
HIGHLIGHT("-c <sasa_id>-<tanzaku_id>")" Kazari menu "
|
||||
"(can only be used with the '-s' or '-u' option)\n"
|
||||
HIGHLIGHT("-w")" Weed (defragment) database\n"
|
||||
HIGHLIGHT("-V")" Print version and exit\n\n"
|
||||
);
|
||||
if (tanabata_path != NULL) {
|
||||
printf(HIGHLIGHT("Current database location: %s")"\n", tanabata_path);
|
||||
@ -445,9 +444,6 @@ int main(int argc, char **argv) {
|
||||
printf(HIGHLIGHT("No database connected")"\n");
|
||||
}
|
||||
return 0;
|
||||
case 'V':
|
||||
printf("1.0.0\n");
|
||||
return 0;
|
||||
case 'I':
|
||||
abspath = realpath(optarg, abspath);
|
||||
if (abspath == NULL) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user