summaryrefslogtreecommitdiff
path: root/src/bin/day_5.rs
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2019-12-11 01:18:13 +0200
committerJustin Wernick <justin@worthe-it.co.za>2019-12-11 01:18:13 +0200
commit46eda1faf09a3b33d925ea1692d6b38029606c4c (patch)
tree794f78d8187b5b93a7e86f60e56d940fc27ebae5 /src/bin/day_5.rs
parent9438066faf52464f8834035721733d82cdf4e322 (diff)
Input parsing for day 6
Diffstat (limited to 'src/bin/day_5.rs')
-rw-r--r--src/bin/day_5.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/bin/day_5.rs b/src/bin/day_5.rs
index e7539e1..a3cf869 100644
--- a/src/bin/day_5.rs
+++ b/src/bin/day_5.rs
@@ -11,17 +11,13 @@ use structopt::StructOpt;
type Intcode = i32;
#[derive(Debug, StructOpt)]
-#[structopt(name = "Day 2: 1202 Program Alarm")]
+#[structopt(name = "Day 5: Sunny with a Chance of Asteroids")]
/// Executes an Intcode program
///
/// The program is read from stdin as a series of comma-separated
/// values. Newlines are ignored.
///
-/// If an output is provided, all possible inputs are tried to find
-/// the input that results in the desired output. In this case, the
-/// inputs are returned in the format (noun, verb).
-///
-///See https://adventofcode.com/2019/day/5 for details.
+/// See https://adventofcode.com/2019/day/5 for details.
struct Opt {
#[structopt(short = "i", long = "input")]
input: Vec<Intcode>,