From dd2eeed17e88a35da9e7de0d6e7e7e91918c068d Mon Sep 17 00:00:00 2001 From: Phitherek Date: Tue, 18 Sep 2012 23:37:02 +0200 Subject: [PATCH] updated usage and help again --- 3m.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/3m.cpp b/3m.cpp index 7afe261..7cf10ed 100644 --- a/3m.cpp +++ b/3m.cpp @@ -1105,14 +1105,15 @@ int ps; string localrepo, localml, localri; if(argc < 2 || argv[1][0] != '-') { cout << "3m - Minetest Mod Manager v. 0.1-indev (C) 2012 by Phitherek_" << endl; -cout << "Usage: " << argv[0] << " [-S/I/R/Q/h/v] [options] modname1 modname2 ..." << endl; +cout << "Usage: " << argv[0] << " [-S/I/U/R/Q/h/v] [options] modname1 modname2 ..." << endl; } else { if(argv[1][1] == 'h') { cout << "3m - Minetest Mod Manager v. 0.1-indev (C) 2012 by Phitherek_" << endl; -cout << "Usage: " << argv[0] << " [-S/I/R/Q/h/v] [options] arg1 arg2 ..." << endl; +cout << "Usage: " << argv[0] << " [-S/I/U/R/Q/h/v] [options] arg1 arg2 ..." << endl; cout << endl; cout << "-S - Sync: gather information from remote modinfo files and update local modlist" << endl; cout << "-I - Install: download and install mod(s)" << endl; +cout << "-U - Update: update already installed mod(s)" << endl; cout << "-R - Remove: remove installed mod(s)" << endl; cout << "-Q - Query: Query local modlist for a string in modname or description. It takes only one argument. The --local option displays a list of installed mods" << endl; cout << "-h - Help: This message" << endl;