Fixed function spelling
This commit is contained in:
1 parent
a8032729f9
commit
c2ea304862
3 files changed
+4
-4
No files matched your search
+1
-1
@@ -16,7 +16,7 @@ func cmdStart() (cmd *cobra.Command) {
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
// Run the server
|
||||
log.Printf("Simple File Server v%s", version.VERSION)
|
||||
log.Printf("Compiled with Go %s", version.GetGoversion())
|
||||
log.Printf("Compiled with Go %s", version.GetGoVersion())
|
||||
log.Printf("Configuration: root directory='%s', bind to='%s", configData.RootDirectory, configData.BindHostAndPort)
|
||||
log.Println("Start the file server now...")
|
||||
|
||||
|
||||
+1
-1
@@ -14,7 +14,7 @@ func cmdVersion() (cmd *cobra.Command) {
|
||||
Args: cobra.NoArgs,
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Printf("Simple File Server v%s\n", version.VERSION)
|
||||
fmt.Printf("Compiled with Go %s", version.GetGoversion())
|
||||
fmt.Printf("Compiled with Go %s", version.GetGoVersion())
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user