Improve command package comments (#251)

This commit is contained in:
François d'Yvoire
2020-02-18 22:42:51 +00:00
committed by GitHub
parent 89e44def83
commit 4fe5aaaccd
11 changed files with 31 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
/*
This package contains commands and flags used by the photoprism application.
Package commands contains commands and flags used by the photoprism application.
Additional information concerning the command-line interface can be found in our Developer Guide:
@@ -18,6 +18,8 @@ import (
var log = event.Log
// chilAlreadyRunning test if a .pid file at filePath is a running proccess.
// it returns the pid value and the running status (true or false).
func childAlreadyRunning(filePath string) (pid int, running bool) {
if !fs.FileExists(filePath) {
return pid, false