From: Alexander Schmidt Date: Fri, 6 Feb 2015 13:51:54 +0000 (+0100) Subject: Extended help text. X-Git-Url: http://git.treefish.org/~alex/usetaglib.git/commitdiff_plain/13ffc39ada83ca2054654021357028b219543a15 Extended help text. --- diff --git a/usetaglib.cpp b/usetaglib.cpp index 439e9a1..7909009 100644 --- a/usetaglib.cpp +++ b/usetaglib.cpp @@ -122,14 +122,25 @@ void printHelp () cout << "-h, --help Show this help" << endl; cout << endl; cout << "ACTIONS" << endl; - cout << setfill(' ') << setw(45) << left << " -l, --list" + cout << setfill(' ') << setw(37) << left << " -l, --list" << "list all tags (implicit if no action specified)"<< endl; - cout << setfill(' ') << setw(45) << left << " -e, --erase=TAGNAME" - << "erase tag with name TAGNAME"<< endl; - cout << setfill(' ') << setw(45) << left << " -r, --replace=TAGNAME=TAGVAL[=TAGVAL...]" - << "replace tag TAGNAME with list of values TAGVAL"<< endl; - cout << setfill(' ') << setw(45) << left << " -i, --insert=TAGNAME=TAGVAL[=TAGVAL...]" - << "insert list of values TAGVAL for tag TAGNAME"<< endl; + cout << setfill(' ') << setw(37) << left << " -a, --listaudio" + << "show audio information"<< endl; + cout << setfill(' ') << setw(37) << left << " -e, --erase=TAGNAME" + << "erase tag TAGNAME"<< endl; + cout << setfill(' ') << setw(37) << left << " -r, --replace=TAGNAME=TAGVALSPEC" + << "replace tag TAGNAME with value TAGVALSPEC"<< endl; + cout << setfill(' ') << setw(37) << left << " -i, --insert=TAGNAME=TAGVALSPEC" + << "insert value TAGVALSPEC for tag TAGNAME"<< endl; + cout << endl; + cout << "TAGVALSPEC" << endl; + cout << " a list of values separated by '=': val1=val2=val3..." << endl; + cout << endl; + cout << "EXAMPLES" << endl; + cout << " usetaglib file.ogg" << endl; + cout << " usetaglib -e ALBUM file.flac" << endl; + cout << " usetaglib -i ARTIST=Horst=Hubert file.mp3" << endl; + cout << " usetaglib -r ARTIST=Horst file.ogg" << endl; } int main(int argc, char *argv[])