Skip to content

Commit

Permalink
Merge pull request #196 from qryxip/fix-p-option
Browse files Browse the repository at this point in the history
ISSUE-195 - Fix `Args::parse_args` for `-p` option
  • Loading branch information
anderejd authored Mar 3, 2021
2 parents fcfa610 + d8167c7 commit 64a3f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-geiger/src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ impl Args {
manifest_path: raw_args.opt_value_from_str("--manifest-path")?,
no_indent: raw_args.contains("--no-indent"),
offline: raw_args.contains("--offline"),
package: raw_args.opt_value_from_str("--manifest-path")?,
package: raw_args.opt_value_from_str(["-p", "--package"])?,
prefix_depth: raw_args.contains("--prefix-depth"),
quiet: raw_args.contains(["-q", "--quiet"]),
readme_args: ReadmeArgs {
Expand Down

0 comments on commit 64a3f23

Please sign in to comment.