aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/c_fuzz.go2
-rw-r--r--src/c_utils.go8
2 files changed, 5 insertions, 5 deletions
diff --git a/src/c_fuzz.go b/src/c_fuzz.go
index e183a85..fb230e1 100644
--- a/src/c_fuzz.go
+++ b/src/c_fuzz.go
@@ -84,7 +84,7 @@ func c_fuzz_find_item(str_out string, litems *ItemsList) (*ItemsNode) {
if ptr.is_dir() == true {
continue
}
- if strings.Compare(name, ptr.Host.Name) == 0 && strings.Compare(path, ptr.path()) == 0 {
+ if name == ptr.Host.Name && path == ptr.path() {
return ptr
}
}
diff --git a/src/c_utils.go b/src/c_utils.go
index 839d6c8..ef8085a 100644
--- a/src/c_utils.go
+++ b/src/c_utils.go
@@ -252,13 +252,13 @@ func c_print_version() {
// prints the help and exits
func c_print_help() {
- fmt.Println(`Usage:
+ fmt.Println(`usage:
hf [options]
-Options:`)
+options:`)
flag.PrintDefaults()
fmt.Println(`
-Report bugs to <rbo@gmx.us>`)
+report bugs to <rbo@gmx.us>`)
os.Exit(0)
}
@@ -269,7 +269,7 @@ func c_not_an_arg(arg string) {
}
func c_cli_opts() (bool, bool) {
- h := flag.Bool("h", false, "print this help")
+ h := flag.Bool("h", false, "show usage")
n := flag.Bool("n", false, "disable loop mode")
s := flag.Bool("s", false, "search-only mode (implies -n)")
v := flag.Bool("v", false, "print the version number and name")