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
Replace argparse with clap for arguments parsing. #145
Conversation
r? @andreastt |
Reviewed 3 of 3 files at r1. a discussion (no related file): a discussion (no related file): Until it does, can we disable the colour feature? See http://kbknapp.github.io/clap-rs/clap/index.html. Cargo.lock, line 5 [r1] (raw file):
(Not a blocker.) I don’t like how adding a new dependency also implicitly upgrades the versions of other dependencies in the same commit when you call src/main.rs, line 46 [r1] (raw file):
The old description was more accurate. src/main.rs, line 48 [r1] (raw file):
This belongs in --version. src/main.rs, line 55 [r1] (raw file):
Doesn’t have to be an IP, can be a hostname. Just “host” covers both. Also the default is "localhost". We should probably reuse the DEFAULT_HOST from src/marionette.rs. src/main.rs, line 56 [r1] (raw file):
Add src/main.rs, line 74 [r1] (raw file):
s/Firefox/Gecko/ src/main.rs, line 76 [r1] (raw file):
Looks like src/main.rs, line 77 [r1] (raw file):
To make this more useful, can you update it to say “Start Firefox without multi-process support (e10s)”? src/main.rs, line 82 [r1] (raw file):
Lowercase DEBUG and TRACE if we want to only accept lowercase strings. See comment below. src/main.rs, line 87 [r1] (raw file):
Previously you could pass these in any casing because the src/main.rs, line 88 [r1] (raw file):
“Internal” could be omitted. src/main.rs, line 98 [r1] (raw file):
Reuse src/main.rs, line 113 [r1] (raw file):
s/marionette/Marionette/ src/main.rs, line 118 [r1] (raw file):
Indentation mistake? Comments from Reviewable |
Review status: 0 of 4 files reviewed at latest revision, 14 unresolved discussions. a discussion (no related file):
|
Reviewed 4 of 4 files at r2. a discussion (no related file):
|
Review status: all files reviewed at latest revision, 2 unresolved discussions. src/main.rs, line 48 [r1] (raw file):
|
This appears to be more popular in the Rust community and doesn't seem to be much worse, so it's probably a safer choice going forward.
Review status: 3 of 4 files reviewed at latest revision, 2 unresolved discussions. a discussion (no related file):
|
Reviewed 1 of 1 files at r3. a discussion (no related file):
|
This appears to be more popular in the Rust community and doesn't seem to
be much worse, so it's probably a safer choice going forward.
This change is