Skip to content

Commit

Permalink
reworked CLI help and doco to match
Browse files Browse the repository at this point in the history
  • Loading branch information
madmickstar committed Jan 7, 2017
1 parent 4e1007e commit 6ae0b0f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,11 @@ $ python -m restorething {date [ -hr {0-24} | -b | -a | -pm {int} | -vd {dir} |

Argument | Type | Format | Default | Description
---------|------|--------|---------|------------
date | integer | YYYYMMDD | Date to restore files, date will be used to find closest file before or after date
-hr | integer | -hr 0-24 | 12 | Hour to compare file's modification time
date | integer | YYYYMMDD | | Date to restore files, date will be used to find closest file before or after date
-hr | integer | -hr {0-24} | 12 | Hour to compare file's modification time
-b | switch | -b | disabled | Limit restore of files to before the supplied date and hour
-a | switch | -a | disabled | Limit restore of files to after the supplied date and hour
-pm | integer | -pm 0-2147483647 | 0 | Limit restore of files to plus/minus hours each side of the supplied date and hour
-pm | integer | -pm {0-2147483647} | 0 | Limit restore of files to plus/minus hours each side of the supplied date and hour
-vd | string | -vd {absolute or relative path of DIR} | .stversions | Sets the location of the syncthing versioning folder, by default script looks in directory script is run from
-rd | string | -rd {absolute or relative path of DIR} | restore | Enables the ability to restore to a location other than the default
-dd | string | -dd {absolute or relative path of DIR} | \user\homedir\.restorething | Enables the ability to use a database file in a different location, default behaviour is to store database file in users home directory
Expand All @@ -78,4 +78,4 @@ date | integer | YYYYMMDD | Date to restore files, date will be used to find c
-fb | string | -fb {absolute path of file} | disabled | Recovers a single version of a file matching the DIR and Filename
-fa | string | -fa {absolute path of file} | disabled | Recovers all versions of a file ignoring any date and times specified
-d | switch | -d | disabled | Enables debug output to console
--version | --version | disabled | Displays version
--version | switch | --version | disabled | Displays version

0 comments on commit 6ae0b0f

Please sign in to comment.