Require diag command to run on daemon
License: MIT Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
Jakub Sztandera committed
May 25, 2016 at 12:55 UTC
d1b5a4bce143d06542961b4816b17622c80f55fd
1 file changed
+1
cmd/ipfs/ipfs.go
+1
@@ -105,6 +105,7 @@ var cmdDetailsMap = map[*cmds.Command]cmdDetails{
105
commands.CommandsDaemonCmd: {doesNotUseRepo: true},
106
commands.VersionCmd: {doesNotUseConfigAsInput: true, doesNotUseRepo: true}, // must be permitted to run before init
107
commands.LogCmd: {cannotRunOnClient: true},
108
+ commands.ActiveReqsCmd: {cannotRunOnClient: true},
109
commands.RepoFsckCmd: {cannotRunOnDaemon: true},
110
commands.ConfigCmd.Subcommand("edit"): {cannotRunOnDaemon: true, doesNotUseRepo: true},
111
}