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.

CLI options are ignored when given in a specific order

See original GitHub issue

at https://thelounge.github.io/docs/getting_started/usage.html under start it says

lounge start --port 80 --private

that should be

lounge start -- --port 80 --private

or

lounge start --private --port 80

(edit: for the last one I meant lounge --private --port 80)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
astorijecommented, Feb 18, 2017

Good point! We should have lounge == lounge --help instead of lounge == lounge start when this bug gets fixed though!

1reaction
matthewsaunderscommented, Feb 18, 2017

I did a little digging into commander and saw that the lounge is only defining the options and the action callback function. The lounge is not actually parsing process.argv.

Created PR https://github.com/thelounge/lounge/pull/929.

Read more comments on GitHub >

github_iconTop Results From Across the Web

CLI options - Terragrunt
Learn about all CLI arguments and options you can use with Terragrunt. ... and run the terraform command in dependency order (unless the...
Read more >
Command-line syntax overview for System.CommandLine
Tokens; Commands; Options; Arguments; Order of options and arguments; Aliases ... If the argument is not provided, the command fails.
Read more >
Advanced Patterns — Click Documentation (8.1.x)
Forwarding Unknown Options¶ ; -v which enables verbose mode. If the command would be ignored with ; -va then the ; -v part...
Read more >
CLI - Prettier
Prettier CLI will ignore files located in node_modules directory. To opt out from this behavior, use --with-node-modules flag. To escape special characters in ......
Read more >
The java Command - Oracle Help Center
When you use -jar , the specified JAR file is the source of all user classes, and other class path settings are ignored....
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