Skip to content

fix: allow model name start with '-'#48

Closed
SDF-blip wants to merge 1 commit intoKFERMercer:masterfrom
SDF-blip:master
Closed

fix: allow model name start with '-'#48
SDF-blip wants to merge 1 commit intoKFERMercer:masterfrom
SDF-blip:master

Conversation

@SDF-blip
Copy link

example error:

$ basename '-abc'
basename: invalid option -- 'b'
Try 'basename --help' for more information.

Fix:

$basename -- '-abc'
-abc

@KFERMercer
Copy link
Owner

Helpful Fix!

But please use primary account to recreate PR.

Also I need to check if there are similar escape issue in the script.

KFERMercer added a commit that referenced this pull request Mar 17, 2026
KFERMercer added a commit that referenced this pull request Mar 17, 2026
@KFERMercer KFERMercer closed this Mar 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants