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), \