commit 49694a21735056a78dab7281f9a613ab3de47d9b
parent aba5d20cc2cce1c32aa27305ff74c2e17dcfe371
Author: Andrew Laack <andrew@laack.co>
Date: Thu, 1 Oct 2026 19:56:39 -0500
Update ordering for arguments (short first)
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main.cpp b/src/main.cpp
@@ -25,7 +25,7 @@ int main(int argc, char** argv) {
.default_value(DEFAULT_VERTEX_COUNT)
.scan<'i', std::size_t>();
- program.add_argument("--sleep", "-s")
+ program.add_argument("-s", "--sleep")
.help("amount of time to sleep between traversals")
.default_value(DEFAULT_SLEEP_TIME)
.scan<'g', float>();
@@ -35,7 +35,7 @@ int main(int argc, char** argv) {
// vertices (though they aren't rendered differently) we don't allow
// self-edges though.
- program.add_argument("--edges", "-e")
+ program.add_argument("-e", "--edges")
.help("number of edges in the graph")
.default_value(DEFAULT_EDGE_COUNT)
.scan<'i', std::size_t>();