- return;
-
- cout << "Usage: usetaglib [ACTION]... [FILE]..." << endl;
- cout << "List and edit tags on mediafiles in formats supported by libtag." << endl;
- cout << endl;
- cout << "-h, --help Show this help" << endl;
- cout << endl;
- cout << "ACTIONS" << endl;
- cout << setfill(' ') << setw(37) << left << " -l, --list"
- << "list all tags (implicit if no action specified)"<< 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;
+ cout <<
+ "\n"
+ "TAGNAME\n"
+ " TAGNAME is a media format independent id encoding the type of a tag.\n"
+ " Note that also in --list output, format specific tag ids are translated\n"
+ " to unified TAGNAMES.\n"
+ "\n"
+ " Some \"well-known\" tags you might want to use are:\n"
+ " TITLE ALBUM ARTIST ALBUMARTIST SUBTITLE TRACKNUMBER DISCNUMBER DATE\n"
+ " ORIGINALDATE GENRE COMMENT TITLESORT ALBUMSORT ARTISTSORT\n"
+ " ALBUMARTISTSORT COMPOSER LYRICIST CONDUCTOR REMIXER PERFORMER ISRC ASIN\n"
+ " BPM COPYRIGHT ENCODEDBY MOOD COMMENT MEDIA LABEL CATALOGNUMBER BARCODE\n"
+ "\n"
+ "TAGVAL\n"
+ " TAGVAL has to be either a single string or a list of strings separated\n"
+ " by equal signs (=). If a list is given, multiple tags of type TAGNAME\n"
+ " will be created and set to the respective values given by the list.\n"
+ " Note that equal signs have to be escaped with a leading backslash (\\=),\n"
+ " if they shall not be interpreted as list separators.\n"
+ "\n"
+ "EXAMPLES\n"
+ " usetaglib file.ogg\n"
+ " usetaglib -e ALBUM file.flac\n"
+ " usetaglib -r \"ALBUM=New Album\" -i ARTIST=Horst=Hubert file.mp3\n"
+ " usetaglib -r ARTIST=Horst -l file1.ogg file2.mp3\n"
+ " usetaglib -i \"ALBUMARTIST=Horst und Hubert\" file.ogg\n"
+ " usetaglib --insert=\"ALBUMARTIST=Horst und Hubert\" file.ogg\n"
+ " usetaglib --replace='ARTIST=This Band \\= Great' file.ogg\n";