proxmox-backup/src
Wolfgang Bumiller 99da3a073d getopt: indentation reduction
See the `git diff -w` output:
|diff --git a/src/getopts.rs b/src/getopts.rs
|index 6548a01..517cc37 100644
|--- a/src/getopts.rs
|+++ b/src/getopts.rs
|@@ -72,7 +72,10 @@ pub fn parse_arguments(
|     while pos < args.len() {
|         if skip {
|             rest.push(args[pos].clone());
|-        } else {
|+            pos += 1;
|+            continue;
|+        }
|+
|         match parse_argument(&args[pos]) {
|             RawArgument::Separator => {
|                 skip = true;
|@@ -135,7 +138,6 @@ pub fn parse_arguments(
|                 rest.push(value);
|             }
|         }
|-        }
|
|         pos += 1;
|     }

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
2018-12-28 13:54:20 +01:00
..
api more cleanups 2018-12-06 10:41:57 +01:00
api3 move lookup_datastore() to backup/datastore.rs 2018-12-22 17:37:25 +01:00
backup backup-client: allow to specify directories (prepare for catar backup) 2018-12-27 10:11:11 +01:00
bin catar/encoder.rs: first try 2018-12-27 13:15:47 +01:00
catar src/catar/encoder.rs: write filenames 2018-12-28 11:48:47 +01:00
cli avoid compiler warnings 2018-12-16 13:57:59 +01:00
config avoid compiler warnings 2018-12-16 13:57:59 +01:00
server simplify formatter code 2018-12-05 18:22:56 +01:00
storage fix compiler warnings, add storage/config.rs 2018-11-30 11:15:26 +01:00
tools timer: setup_timeout_handler cannot fail 2018-12-27 10:36:28 +01:00
api3.rs src/api3/datastore.rs: new file 2018-12-21 13:38:41 +01:00
getopts.rs getopt: indentation reduction 2018-12-28 13:54:20 +01:00
lib.rs catar/encoder.rs: first try 2018-12-27 13:15:47 +01:00
section_config.rs section_config.rs: remove debug output 2018-12-12 12:19:26 +01:00
static_map.rs static_map: remove starnge type borrow 2018-11-01 13:45:10 +01:00
tools.rs make map_struct functions public 2018-12-28 08:04:46 +01:00