Cli: strange comportement with quotes

Created on 20 Feb 2018  路  5Comments  路  Source: urfave/cli

Hello,

I don't know if it is the right comportement

./greet --lang spanish 
Hola Nefertiti

./greet '--lang spanish' 
Incorrect Usage. flag provided but not defined: -lang spanish

./greet ' --lang spanish'
Hello  --lang spanish

This is annoying when used with openshift.

help wanted kinbug statuconfirmed statustale

All 5 comments

That's definitely weird behavior! We should definitely make sure all 3 of those cases behave in the same way 馃憤

I think the only badness here is case 2 should behave like case 3.

Does this issue still exist? I cannot reproduce it any more with the latest version... 馃憖

This issue or PR has been automatically marked as stale because it has not had recent activity. Please add a comment bumping this if you're still interested in it's resolution! Thanks for your help, please let us know if you need anything else.

Closing this as it has become stale.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

lynncyrin picture lynncyrin  路  3Comments

costela picture costela  路  3Comments

vschettino picture vschettino  路  5Comments

costela picture costela  路  5Comments

renzhengeek picture renzhengeek  路  5Comments