From 99487a84141e7019787649c2086218cf8fd28113 Mon Sep 17 00:00:00 2001 From: GooseWing Date: Sun, 19 May 2024 16:36:39 +0500 Subject: [PATCH] Add a shortcut for the interface option (#37) --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index 8e488c5..5ab436f 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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), \