~ubuntu-branches/ubuntu/wily/glusterfs/wily

« back to all changes in this revision

Viewing changes to cli/src/cli-cmd-parser.c

  • Committer: Package Import Robot
  • Author(s): Patrick Matthäi, Louis Zuckerman, Patrick Matthäi
  • Date: 2012-01-07 14:19:57 UTC
  • mfrom: (1.3.14)
  • Revision ID: package-import@ubuntu.com-20120107141957-532c9ubquvlmzls5
Tags: 3.2.5-1
[ Louis Zuckerman ]
* Add patch (03) to fix build errors

[ Patrick Matthäi ]
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1160
1160
         * volume geo-replication [$m [$s]] status
1161
1161
         * volume geo-replication [$m] $s config [[!]$opt [$val]]
1162
1162
         * volume geo-replication $m $s start|stop
 
1163
         * volume geo-replication $m [$s] log-rotate
1163
1164
         */
1164
1165
 
1165
1166
        if (wordcount < 3)
1219
1220
 
1220
1221
                if (!masteri || !slavei)
1221
1222
                        goto out;
 
1223
        } else if (strcmp(words[cmdi], "log-rotate") == 0) {
 
1224
                type = GF_GSYNC_OPTION_TYPE_ROTATE;
 
1225
 
 
1226
                if (slavei && !masteri)
 
1227
                        goto out;
1222
1228
        } else
1223
1229
                goto out;
1224
1230