X-Git-Url: http://git.treefish.org/~alex/usetaglib.git/blobdiff_plain/cbaadb74fa0dc3066676c87f49cf5c6bbf2dd9ce..3f5ca8b570c4a46224f3d99bfbc0a6a520b9c28c:/usetaglib.cpp?ds=inline diff --git a/usetaglib.cpp b/usetaglib.cpp index ea070e7..e54b09e 100644 --- a/usetaglib.cpp +++ b/usetaglib.cpp @@ -108,15 +108,15 @@ int action_printAudio (const TagLib::FileRef f) } void printHelp () -{ - return; - +{ cout << "Usage: usetaglib [ACTION]... [FILE]..." << endl; - cout << "List and edit tags on mediafiles in formats supported by libtag." << endl; + cout << "Read and edit meta-data of audio formats supported by taglib." << endl; cout << endl; cout << "-h, --help Show this help" << endl; cout << endl; cout << "ACTIONS" << endl; + cout << " If multiple actions are specified they are executed in given order." << endl; + cout << endl; cout << setfill(' ') << setw(37) << left << " -l, --list" << "list all tags (implicit if no action specified)"<< endl; cout << setfill(' ') << setw(37) << left << " -a, --listaudio" @@ -134,8 +134,10 @@ void printHelp () 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 << " usetaglib -r \"ALBUM=New Album\" -i ARTIST=Horst=Hubert file.mp3" << endl; + cout << " usetaglib -r ARTIST=Horst -l file1.ogg file2.mp3" << endl; + cout << " usetaglib -i \"ALBUMARTIST=Horst und Hubert\" file.ogg" << endl; + cout << " usetaglib --insert=\"ALBUMARTIST=Horst und Hubert\" file.ogg" << endl; } int main(int argc, char *argv[])