Newversion (#9)

* split to files

* Delete tesing code

* Change gnuflags to go-flags

* Change gnuflags to go-flags

* fix search torrent

* fix search torrent

* Replace impromevents. Separator option

* Help modification. Readme update

* Help modification
This commit is contained in:
Alexey Kostin 2020-04-04 17:00:39 +03:00 committed by GitHub
parent d2682d2ad9
commit 97c940e9ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,7 +31,7 @@ type Flags struct {
Config string `short:"c" long:"config" description:"Source directory that contains resume.dat and torrents files"` Config string `short:"c" long:"config" description:"Source directory that contains resume.dat and torrents files"`
WithoutLabels bool `long:"without-labels" description:"Do not export/import labels"` WithoutLabels bool `long:"without-labels" description:"Do not export/import labels"`
WithoutTags bool `long:"without-tags" description:"Do not export/import tags"` WithoutTags bool `long:"without-tags" description:"Do not export/import tags"`
SearchPaths []string `short:"t" long:"search" description:"Additional search path for torrents files"` SearchPaths []string `short:"t" long:"search" description:"Additional search path for torrents files\n Example: --search='/mnt/olddisk/savedtorrents' --search='/mnt/olddisk/workstorrents'"`
Replaces []string `short:"r" long:"replace" description:"Replace paths.\n Delimiter for from/to is comma - ,\n Example: -r \"D:\\films,/home/user/films\" -r \"\\,/\"\n If you use path separator different from you system, declare it mannually"` Replaces []string `short:"r" long:"replace" description:"Replace paths.\n Delimiter for from/to is comma - ,\n Example: -r \"D:\\films,/home/user/films\" -r \"\\,/\"\n If you use path separator different from you system, declare it mannually"`
PathSeparator string `long:"sep" description:"Default path separator that will use in all paths"` PathSeparator string `long:"sep" description:"Default path separator that will use in all paths"`
} }