Updated README and help

This commit is contained in:
zvon 2019-01-23 18:24:33 +01:00
parent 86367c82c2
commit 41fd924cf1
2 changed files with 12 additions and 4 deletions

View File

@ -5,8 +5,6 @@ For this to work your file needs to contain the season and episode number (in ac
The program only supports the aired order so far
This is a port of my project https://gitlab.com/zvon/tv_rename
## Usage
Enter the directory in which the files you want to rename are (you can have subdirectories with different seasons, just not different shows) and call the program
@ -27,3 +25,11 @@ Arguments:
`-l, --lang` - Language of the episode titles
`--print_langs` - Print available languages
`--name-pattern` - Pattern by which the files should be renamed
- %filename - original filename
- %show - show name from thetvdb
- %epname - episode name from thetvdb
- %season - season number, possible to specify leading 0 like this: %2season (number means how many leading zeros)
- %episode - episode number, possible to specify leading 0 like this: %3season (number means how many leading zeros)

View File

@ -161,8 +161,10 @@ void printHelp() {
std::cout << "\t\t\t\t\%filename - original filename (without filetype extension)" << std::endl;
std::cout << "\t\t\t\t\%show - show name from thetvdb" << std::endl;
std::cout << "\t\t\t\t\%epname - episode name from thetvdb" << std::endl;
std::cout << "\t\t\t\t\%season - season number, possible to specify leading 0 like this: \%2season" << std::endl;
std::cout << "\t\t\t\t\%episode - episode number, possible to specify leading 0 like this: \%2season" << std::endl;
std::cout << "\t\t\t\t\%season - season number" << std::endl;
std::cout << "\t\t\t\t\tpossible to specify leading 0 like this: \%2season (number means how many leading zeros)" << std::endl;
std::cout << "\t\t\t\t\%episode - episode number" << std::endl;
std::cout << "\t\t\t\t\tpossible to specify leading 0 like this: \%2episode (number means how many leading zeros)" << std::endl;
std::cout << "\t\t\tDefault pattern is \"$filename - $epname\"" << std::endl;
std::cout << " --trust, -t\t\tDon't ask whether the names are correct" << std::endl;
std::cout << " --linux, -x\t\tDon't replace characters characters that are illegal in Windows" << std::endl;