Use cmd_access() if that command has a "fixed" number of arguments. (It also displays the "USAGE:..." text on incorrect number of arguments, checks for authorized access - based on get_user_flags() and local player/server rights, logs unauthorized command usage)
Use get_user_flags() if command has a variable number of arguments. (You can also insert portions of code from cmd_access() to fit your needs)