Skip to content

Commit

Permalink
Add a shortcut for the interface option (#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
Andryshik345 authored May 19, 2024
1 parent 469101a commit 99487a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ int main(int argc, char *argv[]) {
bool retry = false;

auto cli = (
("network interface" % required("--interface") & value("interface", interface), \
("network interface" % required("-i", "--interface") & value("interface", interface), \
SUPPORTED_FIRMWARE % option("--fw") & integer("fw", fw), \
"stage1 binary" % option("--stage1") & value("STAGE1", stage1), \
"stage2 binary" % option("--stage2") & value("STAGE2", stage2), \
Expand Down

0 comments on commit 99487a8

Please sign in to comment.