def get_private_command_line(args):
    """ private means don't show password """
    SECRET_PARAMS = ['password', 'command']
    GLOBAL_PARAMS = ['host', 'port', 'login']
    global_options_list = []
    for p in GLOBAL_PARAMS:
        v = getattr(args, p)
        if v:
            global_options_list.append('--%s=%s' % (p, v))
    params = set(vars(args)) - set(SECRET_PARAMS + GLOBAL_PARAMS)
    options_list = []
    for p in params:
        v = getattr(args, p)
        if v:
            options_list.append('--%s=%s' % (p, v))
    params = {'global_options': ' '.join(global_options_list), 'command':
        args.command, 'options': ' '.join(options_list)}
    return 'vg_api %(global_options)s %(command)s %(options)s' % params
