Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielFGray committed Jan 19, 2017
1 parent 232e532 commit 47a383d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
13 changes: 8 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 <STRING> 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
Expand Down
4 changes: 2 additions & 2 deletions tekup
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 47a383d

Please sign in to comment.