Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/util: fix handle of unknown number of arguments
Instead of returning an error in case of an unknown number of args, let it return the nil values and let the caller handle it as it please. For "mr_note", "issue_note" and "mr_edit" the error was interrumpting the cmd line argument parser. Fixes: ecd57aa ("cmd/util: avoid an empty string to be parsed") Signed-off-by: Bruno Meneguele <[email protected]>
- Loading branch information