Skip to content

Commit

Permalink
Added short forms to all "torrent add file" and "torrent add url" option
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarovich committed Feb 11, 2019
1 parent db4969d commit e1c4a2f
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public abstract class Base : AuthenticatedCommandBase
[Option("-f|--folder <PATH>", "Download folder.", CommandOptionType.SingleValue)]
public string Folder { get; set; }

[Option("--cookie <COOKIE>", "Cookie sent to download the .torrent file.", CommandOptionType.SingleValue)]
[Option("-C|--cookie <COOKIE>", "Cookie sent to download the .torrent file.", CommandOptionType.SingleValue)]
public string Cookie { get; set; }

[Option("-c|--category <CATEGORY>", "Category for the torrent.", CommandOptionType.SingleValue)]
Expand All @@ -32,10 +32,10 @@ public abstract class Base : AuthenticatedCommandBase
[Option("-p|--paused", "Add torrents in the paused state.", CommandOptionType.NoValue)]
public bool Paused { get; set; }

[Option("--no-check", "Skip hash checking.", CommandOptionType.NoValue)]
[Option("-n|--no-check", "Skip hash checking.", CommandOptionType.NoValue)]
public bool SkipChecking { get; set; }

[Option("--create-root-folder <BOOL>", "Create root folder (true/false).", CommandOptionType.SingleValue)]
[Option("-R|--create-root-folder <BOOL>", "Create root folder (true/false).", CommandOptionType.SingleValue)]
public bool? CreateRootFolder { get; set; }

[Option("-r|--rename <NEW_NAME>", "Rename torrent", CommandOptionType.SingleValue)]
Expand All @@ -50,7 +50,7 @@ public abstract class Base : AuthenticatedCommandBase
[Option("-s|--sequential", "Enable sequential download.", CommandOptionType.NoValue)]
public bool SequentialDownload { get; set; }

[Option("--first-last-prio", "Prioritize download of the first and the last pieces.", CommandOptionType.SingleValue)]
[Option("-F|--first-last-prio", "Prioritize download of the first and the last pieces.", CommandOptionType.SingleValue)]
public bool FirstLastPiecePrioritized { get; set; }

[Option("-a|--automatic-torrent-management <BOOL>", "Enable/disables automatic torrent management. Requires qBittorrent 4.1.5 or later.", CommandOptionType.SingleValue)]
Expand Down

0 comments on commit e1c4a2f

Please sign in to comment.