diff --git a/README.md b/README.md index 40b8a29..610a973 100644 --- a/README.md +++ b/README.md @@ -10,17 +10,20 @@ Command line script to upload files to https://teknik.io ``` Usage: tekup [OPTIONS] FILES.. -h print this help - -v print verbose output. can be stacked. there are two levels of - verbosity (because this thing is over-engineered), the first - will print the JSON response from teknik, the second will also - pass the -v option to curl -d request a deletion key for images -e expiration time. only has an effect on text pastes. - must be in the form of 'N UNITS' where N is a number + must be in the form of 'N UNIT' where N is a number and UNIT is one of the following: minute hour day month year + -v print verbose output. can be stacked. there are three levels of + verbosity (because this thing is over-engineered) + first will show progress from curl + second will print the json response + third will show verbose output from curl ``` +If `~/.config/tekup/log` is a writeable file tekup will always ask for a deletion key and log it in that file. + ## Example: ``` bash diff --git a/tekup b/tekup index abcfef8..f90548a 100755 --- a/tekup +++ b/tekup @@ -34,8 +34,8 @@ OPTIONS: second will print the json response third will show verbose output from curl -if ~/.config/tekup/log is a writeable file tekup will always ask for a -deletion key and log it in that file +If ~/.config/tekup/log is a writeable file tekup will always ask for a +deletion key and log it in that file. HELP }