mm(1): fix argv use

This commit is contained in:
dtb 2024-07-27 18:22:43 -06:00
parent c5c0e543e4
commit 429d064209
Signed by: trinity
GPG Key ID: 34C0543BBB6AF81B

View File

@ -147,9 +147,9 @@ int main(int argc, char *argv[]) {
k = 0;
if (argc > 0) { program_name = argv[0]; }
if (argc > 0) {
program_name = argv[0];
if (argc > 1) {
while ((c = getopt(argc, argv, "aehi:no:u")) != -1) {
switch (c){
case 'a': /* "rb+" -> "ab" */