uac 0.3.1 → 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/uac_sh.rb +4 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e5c21a9fe5d9b802aeae196ecebbe1b1c3badaa
|
4
|
+
data.tar.gz: 4c6b40a76a4d82de9ef7aa72c43541c6645a0be7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 41e71bc823b4559e15d0d632a68883bf2d030a2d3736c3704337fb2938c8096a2380d6889f2667fef11b9e29f03f9a1c6429ff830edc10321fed5e046a763b08
|
7
|
+
data.tar.gz: 579dc739bcd0de5edecab97d706110aadf99ade44ae55958cb9604763faafd9b5acef40fac9570a85bd64c204a5798f61a70364aedc11839a435b272cf27772d
|
data/lib/uac_sh.rb
CHANGED
@@ -23,7 +23,7 @@ module UacSh
|
|
23
23
|
opt.separator ""
|
24
24
|
opt.separator "Options:"
|
25
25
|
|
26
|
-
terminal_help =
|
26
|
+
terminal_help = "The given command will be executed in a terminal window, so cmd /c is added implictly. Default is #{options[:terminal]}."
|
27
27
|
opt.on('-t', '--[no-]terminal', terminal_help) do |o|
|
28
28
|
options[:terminal] = o
|
29
29
|
if not o
|
@@ -32,7 +32,7 @@ module UacSh
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
pause_help =
|
35
|
+
pause_help = "Pause after execution. This implies executing command line, so cmd.exe is the program to be executed. This option implies --terminal. Default is #{options[:pause]}."
|
36
36
|
opt.on('-p', '--[no-]pause', pause_help) do |o|
|
37
37
|
options[:pause] = o
|
38
38
|
if o
|
@@ -44,7 +44,8 @@ module UacSh
|
|
44
44
|
options[:debug] = o
|
45
45
|
end
|
46
46
|
|
47
|
-
|
47
|
+
cd_help = "Change to current directory. Default is true. This option implies --terminal. Default is #{options[:cd]}."
|
48
|
+
opt.on('--cd', '-c', cd_help) do |o|
|
48
49
|
options[:cd] = o
|
49
50
|
if o
|
50
51
|
options[:terminal] = o
|