From 7c8633fa50c7d9ec9aa5403dd33054480d086523 Mon Sep 17 00:00:00 2001 From: Koichi Shiraishi Date: Fri, 21 Apr 2017 21:34:36 +0900 Subject: [PATCH] hdiutil: sort by alphabetical order Signed-off-by: Koichi Shiraishi --- hdiutil.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/hdiutil.go b/hdiutil.go index e9a96ea..2f23f3c 100644 --- a/hdiutil.go +++ b/hdiutil.go @@ -49,22 +49,22 @@ func (e EncryptionType) String() string { } func (e EncryptionType) attachFlag() []string { return stringFlag("encryption", e.String()) } -func (e EncryptionType) verifyFlag() []string { return stringFlag("encryption", e.String()) } func (e EncryptionType) convertFlag() []string { return stringFlag("encryption", e.String()) } func (e EncryptionType) makehybridFlag() []string { return stringFlag("encryption", e.String()) } +func (e EncryptionType) verifyFlag() []string { return stringFlag("encryption", e.String()) } type plist bool func (p plist) attachFlag() []string { return boolFlag("plist", bool(p)) } -func (p plist) verifyFlag() []string { return boolFlag("plist", bool(p)) } func (p plist) convertFlag() []string { return boolFlag("plist", bool(p)) } +func (p plist) verifyFlag() []string { return boolFlag("plist", bool(p)) } type puppetstrings bool func (p puppetstrings) attachFlag() []string { return boolFlag("puppetstrings", bool(p)) } -func (p puppetstrings) verifyFlag() []string { return boolFlag("puppetstrings", bool(p)) } func (p puppetstrings) convertFlag() []string { return boolFlag("puppetstrings", bool(p)) } func (p puppetstrings) makehybridFlag() []string { return boolFlag("puppetstrings", bool(p)) } +func (p puppetstrings) verifyFlag() []string { return boolFlag("puppetstrings", bool(p)) } // Srcimagekey specify a key/value pair for the disk image recognition system. (-imagekey is normally a synonym) type Srcimagekey map[string]string @@ -77,8 +77,8 @@ func (s Srcimagekey) commonFlag() []string { return stringFlag("srcimagekey", arg) } func (s Srcimagekey) attachFlag() []string { return s.commonFlag() } -func (s Srcimagekey) createFlag() []string { return s.commonFlag() } func (s Srcimagekey) convertFlag() []string { return s.commonFlag() } +func (s Srcimagekey) createFlag() []string { return s.commonFlag() } func (s Srcimagekey) makehybridFlag() []string { return s.commonFlag() } // Tgtimagekey specify a key/value pair for any image created. (-imagekey is only a synonym if there is no input image). @@ -92,8 +92,8 @@ func (t Tgtimagekey) commonFlag() []string { return stringFlag("tgtimagekey", arg) } func (t Tgtimagekey) attachFlag() []string { return t.commonFlag() } -func (t Tgtimagekey) createFlag() []string { return t.commonFlag() } func (t Tgtimagekey) convertFlag() []string { return t.commonFlag() } +func (t Tgtimagekey) createFlag() []string { return t.commonFlag() } // Imagekey is normally a synonym to Srcimagekey, only a synonym Tgtimagekey if there is no input image. type Imagekey map[string]string @@ -116,9 +116,9 @@ type Encryption EncryptionType type stdinpass bool func (s stdinpass) attachFlag() []string { return boolFlag("stdinpass", bool(s)) } -func (s stdinpass) verifyFlag() []string { return boolFlag("stdinpass", bool(s)) } func (s stdinpass) convertFlag() []string { return boolFlag("stdinpass", bool(s)) } func (s stdinpass) makehybridFlag() []string { return boolFlag("stdinpass", bool(s)) } +func (s stdinpass) verifyFlag() []string { return boolFlag("stdinpass", bool(s)) } type agentpass bool @@ -162,24 +162,24 @@ func (s Shadow) makehybridFlag() []string { return stringFlag("shadow", string(s type verbose bool func (v verbose) attachFlag() []string { return boolFlag("verbose", bool(v)) } -func (v verbose) detachFlag() []string { return boolFlag("verbose", bool(v)) } -func (v verbose) createFlag() []string { return boolFlag("verbose", bool(v)) } func (v verbose) convertFlag() []string { return boolFlag("verbose", bool(v)) } +func (v verbose) createFlag() []string { return boolFlag("verbose", bool(v)) } +func (v verbose) detachFlag() []string { return boolFlag("verbose", bool(v)) } func (v verbose) makehybridFlag() []string { return boolFlag("verbose", bool(v)) } type quiet bool func (q quiet) attachFlag() []string { return boolFlag("quiet", bool(q)) } -func (q quiet) detachFlag() []string { return boolFlag("quiet", bool(q)) } func (q quiet) createFlag() []string { return boolFlag("quiet", bool(q)) } +func (q quiet) detachFlag() []string { return boolFlag("quiet", bool(q)) } func (q quiet) makehybridFlag() []string { return boolFlag("quiet", bool(q)) } type debug bool func (d debug) attachFlag() []string { return boolFlag("debug", bool(d)) } -func (d debug) detachFlag() []string { return boolFlag("debug", bool(d)) } -func (d debug) createFlag() []string { return boolFlag("debug", bool(d)) } func (d debug) convertFlag() []string { return boolFlag("debug", bool(d)) } +func (d debug) createFlag() []string { return boolFlag("debug", bool(d)) } +func (d debug) detachFlag() []string { return boolFlag("debug", bool(d)) } func (d debug) makehybridFlag() []string { return boolFlag("debug", bool(d)) } const (