diff options
| author | Scott Lawrence <scott+git@ineffectivetheory.com> | 2024-11-26 21:58:33 -0700 |
|---|---|---|
| committer | Scott Lawrence <scott+git@ineffectivetheory.com> | 2024-11-26 21:58:33 -0700 |
| commit | b5ad4356a26dbe9b28df2422cbd65fd182e6094a (patch) | |
| tree | d7938e022c0f053787c8c71169067d845d820a35 | |
| parent | 6a00a75932ad345f2c649440e648871306af3494 (diff) | |
| download | varanus-b5ad4356a26dbe9b28df2422cbd65fd182e6094a.tar.gz varanus-b5ad4356a26dbe9b28df2422cbd65fd182e6094a.tar.bz2 varanus-b5ad4356a26dbe9b28df2422cbd65fd182e6094a.zip | |
Adding copyright
| -rw-r--r-- | src/main.rs | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index a5fee1c..cd5df09 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,23 @@ +/* Varanus: client/server system monitor for PCs. + * + * Copyright (c) 2024 Scott Lawrence. + * + * Permission is hereby granted, free of charge, to any person obtaining a copy of this software + * and associated documentation files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, copy, modify, merge, publish, + * distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all copies or + * substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING + * BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, + * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + */ + use std::error; use std::fs::remove_file; use std::io::{Read,Write}; @@ -16,7 +36,7 @@ struct Cli { daemon: bool, #[arg(short='v', long)] verbose: bool, - #[arg(short='D', long, default_value="10")] + #[arg(short='D', long, default_value="100")] delay: u64, #[arg(short='s', long, default_value="varanus.sock")] socket: String, |
