Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

fleetctl: Need return fail if no args given to some subcommand. #1230

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Commits on May 17, 2015

  1. fleetctl: Add the args check for some subcommand

    Some subcommand like destroy/load/start/status/stop/submit/unload,
    need to give prompt if no args for them.
    Add the same prompt "One unit file must be provided" as the "cat"
    subcommand is doing:
    [root@localhost fleet-0.10.1]# fleetctl cat
    One unit file must be provided
    wuqixuan committed May 17, 2015
    Configuration menu
    Copy the full SHA
    f70fb15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    810b59c View commit details
    Browse the repository at this point in the history