okshot 0.1.3 → 0.1.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dac8faf503714e6c195b6d07c2b046b873d857df50e72e33ae3d227081fcbe3e
4
- data.tar.gz: 485a3c0fa9c11e545adad059dd6f9e36dbba8fc154c10914c79358ce953402c5
3
+ metadata.gz: 131d7318463e83a47cb12fae0af1bdb2418fbb19354caa834dd9526eb9de1f8c
4
+ data.tar.gz: cedad7fba197026b8e83a52e11bcfa9c4346b65b5fc438ebf431e200197d2497
5
5
  SHA512:
6
- metadata.gz: dcf40412c7284cfaebb31e74d68a504363b70ff87a5dea4dfdfd208878906c6d4a027dcac758a118226c6115f2ef376ad7ba442c5fc251ded89f12f0ffc40375
7
- data.tar.gz: 490d644591fc142ef9fcf3c40aab21731d2f70596fe4d4dadf2d2347ee097ad1658369424f8df0d8f1b922419bc0318b76dee7c18f36607ab37a1375e796a82c
6
+ metadata.gz: be4831e9d708ca60f499bed87a066356bf10f9a5fd8e798771bdd71b33256ad15792a0d72916ce931413099bc3258ae49adae43c1c73013e42fdbe902f779baa
7
+ data.tar.gz: db9a5702970aeae21c5c78d4f46c820233ce9dd0209775db8392acabe37cde61d5aa167938efa65bd5af5fad763262b87827b5e1e6a8b6f9a1ea36a963ea71d9
data/README.org CHANGED
@@ -17,7 +17,7 @@
17
17
  #+begin_example
18
18
  Usage: okshot [options]
19
19
  -C, --copy-to-clipboard Copy PNG file from clipboard and upload
20
- -s, --simple Take a screenshot without annotation and upload
20
+ -s, --simple Take a screenshot without annotation and upload. This is thedefault.
21
21
  -c, --copy-from-clipboard Copy PNG file from clipboard and upload
22
22
  -i, --inkscape Use inkscape to edit the screenshot and upload
23
23
  #+end_example
@@ -33,7 +33,7 @@ module OK
33
33
  opts.on(
34
34
  '-s',
35
35
  '--simple',
36
- 'Take a screenshot without annotation and upload'
36
+ 'Take a screenshot without annotation and upload. This is the default.'
37
37
  ) do |c|
38
38
  options.flag = 's'
39
39
  end
@@ -53,8 +53,8 @@ module OK
53
53
  end
54
54
  end.parse!
55
55
 
56
+ options.flag = 's' unless options.flag
56
57
  take_screenshot(options)
57
- exit
58
58
  end
59
59
  end
60
60
  end
@@ -1,5 +1,5 @@
1
1
  module OK
2
2
  module Shot
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okshot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alain M. Lafon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-01-13 00:00:00.000000000 Z
11
+ date: 2021-01-14 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Take and annotate screenshots in Linux with standard tools.
14
14
  email: