5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-07 17:18:03 +03:00
Go to file
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
debian use proxmox-backup as package name 2018-12-20 10:45:14 +01:00
src getopt: indentation reduction 2018-12-28 13:54:20 +01:00
www extract version from environment 2018-12-05 14:40:45 +01:00
.gitignore add rust standard .gitignore file 2018-12-19 11:06:51 +01:00
Cargo.toml use openssl for faster hashing 2018-12-22 14:31:59 +01:00
Makefile use proxmox-backup as package name 2018-12-20 10:45:14 +01:00