Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
0 points
xaedes
5y ago
0 comments
Share
This would help a bit: Don't accept the "--do-it" as first parameter, make it obligatory to be the last.
undefined | Better HN
0 comments
default
newest
oldest
X6S1x6Okd1st
5y ago
If someone is a programmer and is trying to disable safety features making it slightly harder to do so doesn't really seem like the solution.
_ikke_
5y ago
my_command() { command my_command "$@" --do-it }
xaedes
OP
5y ago
Good point. Stuff like this is why I wrote "a bit". Thank you for providing an example, why it wont be enough.
j
/
k
navigate · click thread line to collapse