The -c option doesn't require an argument (bug fix)

modified:   src/main.c
This commit is contained in:
Brian Barto 2017-01-17 21:54:13 -05:00
parent 5ffdfb5e40
commit b1a0db59ae

View File

@ -19,7 +19,7 @@ int main(int argc, char *argv[]) {
char *input = NULL;
// Processing command arguments
while ((o = getopt(argc, argv, "f:ac:v")) != -1) {
while ((o = getopt(argc, argv, "f:acv")) != -1) {
switch (o) {
case 'f':
nms_set_foreground_color(optarg);