The -c option doesn't require an argument (bug fix)
modified: src/main.c
This commit is contained in:
parent
5ffdfb5e40
commit
b1a0db59ae
@ -19,7 +19,7 @@ int main(int argc, char *argv[]) {
|
|||||||
char *input = NULL;
|
char *input = NULL;
|
||||||
|
|
||||||
// Processing command arguments
|
// Processing command arguments
|
||||||
while ((o = getopt(argc, argv, "f:ac:v")) != -1) {
|
while ((o = getopt(argc, argv, "f:acv")) != -1) {
|
||||||
switch (o) {
|
switch (o) {
|
||||||
case 'f':
|
case 'f':
|
||||||
nms_set_foreground_color(optarg);
|
nms_set_foreground_color(optarg);
|
||||||
|
Loading…
Reference in New Issue
Block a user