Skip to content

Commit

Permalink
Add -alpha to version and fix some formatting
Browse files Browse the repository at this point in the history
Also fix a small bug that would allow cyan coloring when `--color` is disabled
  • Loading branch information
mgord9518 authored Jan 20, 2022
1 parent 53765d6 commit 9abe012
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aisap-bin/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ var (
c = "\033[0;36m" // Cyan
z = "\033[0;0m" // Reset

ver = "0.2.5"
ver = "0.2.5-alpha"
)

var (
Expand Down Expand Up @@ -82,7 +82,7 @@ func init() {
fmt.Printf("%s --version %sprint the version and exit\n\n", g, z)
fmt.Printf("%sWARNING:%s no sandbox is impossible to escape! This is to *aid* security, not\n", r, z)
fmt.Printf("guarentee safety when downloading sketchy stuff online. Don't be stupid!\n\n")
fmt.Printf("for more information, visit <://github.com/mgord9518/aisap>\n\n")
fmt.Printf("for more information, visit <https://github.com/mgord9518/aisap>\n\n")
fmt.Printf("Plus, this is ALPHA software! Very little testing has been done;\n")
fmt.Printf("%sUSE AT YOUR OWN RISK!%s\n", r, z)
os.Exit(0)
Expand All @@ -95,9 +95,9 @@ func init() {
g = ""
y = ""
r = ""
c = ""
}


if *version {
fmt.Println(ver)
os.Exit(0)
Expand Down

0 comments on commit 9abe012

Please sign in to comment.