navid/veins / commit
4fd13fa7c760
Navid M <navidmomtahen@gmail.com> · 2026-11-29
parents: c45b78e0f346
Browse files at this commit · Download source
--- a/xveins/src/cli/cli.cpp+++ b/xveins/src/cli/cli.cpp@@ -2974,7 +2974,7 @@ return fetch_run(args); if (cmd == "gg") return gg_run(args);- if (cmd == "push")+ if (cmd == "push" || "psh") return push_run(args); if (cmd == "serve") return serve_run(args);--- a/xveins/src/cli/net_commands.cpp+++ b/xveins/src/cli/net_commands.cpp@@ -1536,7 +1536,7 @@ std::cout << "then origin, then the first configured remote\n"; return true; }- if (command == "push") {+ if (command == "push" || command == "psh") { std::cout << "usage: vn push [-key:<name>] [<remote>] [<bookmark>] [path]\n\n"; std::cout << "push a bookmark to a configured native remote\n\n"; std::cout << "without <bookmark>, the current bookmark is pushed\n";