mm(1): error out when given positional arguments #92

Closed
trinity wants to merge 0 commits from mm into main
Owner

Closes #90; mm(1) ignored positional arguments, which when used in an mm invocation are invalid.

This change makes mm(1) print usage text and exit when positional arguments are used. It changes the existing usage text in option parsing to a call to a new function that does the same, then uses that function also if there are arguments that weren't parsed as options or optargs.

Closes #90; mm(1) ignored positional arguments, which when used in an mm invocation are invalid. This change makes mm(1) print usage text and exit when positional arguments are used. It changes the existing usage text in option parsing to a call to a new function that does the same, then uses that function also if there are arguments that weren't parsed as options or optargs.
trinity added the
bug
label 2024-04-02 17:23:30 +00:00
trinity added 1 commit 2024-04-02 17:23:31 +00:00
trinity requested review from emma 2024-04-02 17:23:38 +00:00
emma approved these changes 2024-04-02 23:16:02 +00:00
Author
Owner

Merged.

Merged.
trinity closed this pull request 2024-04-27 01:25:34 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: bonsai/coreutils#92
No description provided.