@@ -12,23 +12,33 @@ import (
12
12
13
13
const (
14
14
version = "1.0.0"
15
- usage = "Usage: uni (options) [arg 1]...[arg n]\n Line Filter Usage: [application command] | uni (options)\n "
16
- help = "=================================================\n " +
17
- " uni v" + version + "\n " +
18
- " Copyright 2018 Christopher Simpkins\n " +
19
- " MIT License\n \n " +
20
- " Source: https://github.com/source-foundry/uni\n " +
21
- "=================================================\n \n " +
22
- " Usage:\n " +
23
- " - With command line arguments:\n " +
24
- " $ uni (options) [arg 1]...[arg n]\n " +
25
- " - As line filter:\n " +
26
- " $ [application command] | uni (options)\n \n " +
27
- " Options:\n " +
28
- " -g, --glyph Search for glyph with Unicode code point\n " +
29
- " -h, --help Application help\n " +
30
- " --usage Application usage\n " +
31
- " -v, --version Application version\n \n "
15
+
16
+ usage = `Usage: uni (options) [arg 1]...[arg n]
17
+ Line Filter Usage: [application command] | uni (options)
18
+
19
+ `
20
+
21
+ help = `=================================================
22
+ uni
23
+ Copyright 2018 Christopher Simpkins
24
+ MIT License
25
+
26
+ Source: https://github.com/source-foundry/uni
27
+ =================================================
28
+ Usage:
29
+ - With command line arguments:
30
+ $ uni (options) [arg 1]...[arg n]
31
+ - As line filter:
32
+ $ [application command] | uni (options)
33
+ Default:
34
+ Search for Unicode code point(s) with glyph(s)
35
+ Options:
36
+ -g, --glyph Search for glyph(s) with Unicode code point(s)
37
+ -h, --help Application help
38
+ --usage Application usage
39
+ -v, --version Application version
40
+
41
+ `
32
42
)
33
43
34
44
var versionShort , versionLong , helpShort , helpLong , usageLong , glyphShort , glyphLong * bool
0 commit comments