commit | ee45a8a149e1a3c8fe7c232a9e32f3a007e21bee | [log] [download] |
---|---|---|
author | nicm <nicm> | Sat Apr 22 10:22:39 2017 +0000 |
committer | nicm <nicm> | Sat Apr 22 10:22:39 2017 +0000 |
tree | 21cc9cafd10d55cd7cd92ec616d08ac59adc4a0a | |
parent | 2c0f826c360fc5a8f0e125759b596eb28441ba65 [diff] |
Get rid of the extra layer of flags and cmd_prepare() and just store the CMD_FIND_* flags in the cmd_entry and call it for the command. Commands with special requirements call it themselves and update the target for hooks to use.