Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass number containing params as cli options #1015

Closed
amir-rahnama opened this issue Dec 20, 2013 · 1 comment
Closed

Pass number containing params as cli options #1015

amir-rahnama opened this issue Dec 20, 2013 · 1 comment

Comments

@amir-rahnama
Copy link

I tried to pass number containing params as cli options, but Grunt parses them as a number.

grunt taskId --option1='0123' 
grunt taskId --option1="0123" 
grunt taskId --option1=0123 

Sets the option 1 to 123 in both cases.

Is this a bug?

If so, I was wondering if I can contribute on fixing it.
If not, what is the fix and solution?

MAC OSX 10.8.5, Node.js v0.10.12, Grunt v0.4.2

@shama
Copy link
Member

shama commented Dec 20, 2013

Duplicate of #894. Please see npm/nopt#24 and npm/nopt#23 for the latest on this issue thanks!

@shama shama closed this as completed Dec 20, 2013
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

No branches or pull requests

2 participants