aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/bin/git-sugpatch.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/git-sugpatch.rs b/src/bin/git-sugpatch.rs
index 0499c62..c4969b1 100644
--- a/src/bin/git-sugpatch.rs
+++ b/src/bin/git-sugpatch.rs
@@ -49,7 +49,7 @@ fn main() {
client.fetch(&suggestion_arg).unwrap()
} else {
- let url: SuggestionUrl = args[1].parse().unwrap();
+ let url: SuggestionUrl = suggestion_arg.parse().unwrap();
let client = Client::new(
&config.github_token,