Просмотр исходного кода

taud: Separate settings with blank lines.

parazyd 3 лет назад
Родитель
Сommit
62b472562d
1 измененных файлов с 10 добавлено и 1 удалено
  1. 10 1
      bin/tau/taud/src/settings.rs

+ 10 - 1
bin/tau/taud/src/settings.rs

@@ -34,30 +34,39 @@ pub struct Args {
     /// Sets a custom config file
     #[structopt(long)]
     pub config: Option<String>,
+
     /// JSON-RPC listen URL
     #[structopt(long = "rpc", default_value = "tcp://127.0.0.1:23330")]
     pub rpc_listen: Url,
+
     /// Sets Datastore Path
     #[structopt(long, default_value = "~/.tau")]
     pub datastore: String,
+
     #[structopt(flatten)]
     pub net: SettingsOpt,
+
     /// Increase verbosity
     #[structopt(short, parse(from_occurrences))]
     pub verbose: u8,
+
     /// Generate a new workspace
     #[structopt(long)]
     pub generate: bool,
+
     /// Secret Key To Encrypt/Decrypt tasks
     #[structopt(long)]
     pub workspaces: Vec<String>,
+
     ///  Clean all the local data in datastore path
-    /// (BE CAREFULL) Check the datastore path in the config file before running this
+    /// (BE CAREFUL) Check the datastore path in the config file before running this
     #[structopt(long)]
     pub refresh: bool,
+
     /// Current display name    
     #[structopt(long)]
     pub nickname: Option<String>,
+
     // Whether to pipe notifications or not
     #[structopt(long)]
     pub piped: bool,