question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Flag alias with number not working

See original GitHub issue

I want to support the following flag:

--stage-0, -0

But, -0 doesn’t work. --0 is working. Is it by design? If it’s not then I can raise a PR. Thanks for the awesome project ❤️

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
sindresorhuscommented, Jun 15, 2018

Just an oversight. PR welcome 😃

0reactions
torifatcommented, Oct 18, 2018

Seems like it wasn’t a mistake -> yargs/yargs-parser#44

Read more comments on GitHub >

github_iconTop Results From Across the Web

How Can I add a flag to alias? - Stack Overflow
-A, --show-all equivalent to -vET -b, --number-nonblank number ... mycat() call with no flags will be invoked as "cat '' <filename>" and ...
Read more >
Add flag alias feature to rename old flag smoothly #76 - GitHub
Consider introduce a alias mechanism to resolve this problem. // Modified flag with new correct name DEFINE_int32(xfs_master_port, 8000, "some bool value");.
Read more >
alias for command-line options not recognized - Ask Ubuntu
When compiling without the alias, i.e. gcc -std=c99 -Wall -Wextra -Wconversion -pedantic file_name.c -o object_name -L/usr/lib/i386- ...
Read more >
Bash aliases you can't live without - Opensource.com
To solve that problem, try an alias like this: ... This alias uses a little-known mv flag that enables you to provide the...
Read more >
conflict Command - IBM
Searches the directory indicated by the Directory variable for mailboxes that are not valid. You can specify any number of -search flags. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found