Remove cyborg-dbsync unsupport argument

Now we cannot run ``cyborg-dbsync - for backward compatibility``, it
will raise an error, that unsupport argument, and this command
seems to have no meaning, as bellow:

usage: cyborg-dbsync [-h] [--config-dir DIR] [--config-file PATH]
                     [--debug] [--log-config-append PATH]
                     [--log-date-format DATE_FORMAT] [--log-dir LOG_DIR]
                     [--log-file PATH] [--nodebug] [--nouse-journal]
                     [--nouse-json] [--nouse-syslog]
                     [--nowatch-log-file] [--syslog-log-facility SYSLOG_LOG_FACILITY]
                     [--use-journal] [--use-json] [--use-syslog]
                     [--version] [--watch-log-file]
                     {upgrade,revision,stamp,version,create_schema} ...
cyborg-dbsync: error: argument command: invalid choice: 'for' (choose from 'upgrade',
'revision', 'stamp', 'version', 'create_schema')

Another change is rename this file to README.rst, adding the *rst*
subfix.

Change-Id: I80ddc0e8200a644613f3b45a15255d8c6b57a74b
This commit is contained in:
zhangbailin 2020-11-16 10:37:57 +00:00
parent 4febf254ae
commit 38d395d264

View File

@ -9,6 +9,5 @@ Stamp db with most recent migration version, without actually running migrations
$ cyborg-dbsync stamp --revision head
Upgrade can be performed by:
$ cyborg-dbsync - for backward compatibility
$ cyborg-dbsync upgrade
# cyborg-dbsync upgrade --revision head