mirror of
https://codeberg.org/postscriptum/snac2nex.git
synced 2026-03-31 13:15:27 +00:00
implement daemon mode argument option
This commit is contained in:
parent
77d0650aef
commit
1e3043d683
4 changed files with 58 additions and 21 deletions
|
|
@ -35,7 +35,9 @@ snac2nex -s /path/to/snac/storage -t /path/to/nex -u user1 -u user2
|
|||
|
||||
Supported values:
|
||||
|
||||
* `c` (`copy`) - copy files * `h` (`hard`) - create hard links * `s` (`soft`) - create soft links (macos, linux, windows only)
|
||||
* `c` (`copy`) - copy files
|
||||
* `h` (`hard`) - create hard links
|
||||
* `s` (`soft`) - create soft links (macos, linux, windows only)
|
||||
|
||||
-r, --rotate <ROTATE>
|
||||
Keep running as the daemon, renew every `n` seconds
|
||||
|
|
@ -62,6 +64,9 @@ snac2nex -s /path/to/snac/storage -t /path/to/nex -u user1 -u user2
|
|||
-k, --keep
|
||||
Keep Nex entry on Snac post was removed
|
||||
|
||||
-d, --daemon
|
||||
Disables some debug output
|
||||
|
||||
-h, --help
|
||||
Print help (see a summary with '-h')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue