[Fix] shutdown: -H and -P flags can only be used along with -h flag.