changed default expiry time to unlimited

This commit is contained in:
Petr Bena 2015-01-19 23:41:17 +01:00
parent 446a4ee091
commit 5fb127f912
2 changed files with 3 additions and 2 deletions

View File

@ -21,7 +21,7 @@ using namespace std;
unsigned int Configuration::Verbosity = 0;
string Configuration::Source = "";
string Configuration::URL = "";
string Configuration::Expiry = "60";
string Configuration::Expiry = "0";
bool Configuration::Private = false;
string Configuration::Author = "";
string Configuration::Version = "1.0.5";

View File

@ -147,7 +147,8 @@ void TerminalParser::DisplayHelp()
" -t <title>: Set a title for a paste\n"\
" -p: Mark a paste as private (not visible in recent pastes)\n"\
" -s: Display only RAW url of paste and no extra text\n"\
" -e <minutes>: Set expiry in minutes, parameter needs to be a number\n"\
" -e <minutes>: Set expiry in minutes, parameter needs\n"\
" to be a number, default: unlimited time\n"\
" --version: Display a version\n"\
" -h | --help: Display this help\n\n"\
"Note: every argument in [brackets] is optional\n"\