Commit 034ea68d authored by Tobias Kortkamp's avatar Tobias Kortkamp Committed by Baptiste Daroussin
Browse files

autoremove: fail on invalid arguments

parent dc35acba
......@@ -80,7 +80,8 @@ exec_autoremove(int argc, char **argv)
yes = true;
break;
default:
break;
usage_autoremove();
return (EXIT_FAILURE);
}
}
argc -= optind;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment