• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item7925: bin/mdrepo showing its command line usage untidy

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine   Normal Waiting for Release   patch  

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

When used from command line without arguments, bin/mdrepo shows usage as follows.
$ ./mdrepo
: invalid command
Usage:
       mdrepo add TABLE REC_ID FIELD_NAME1=VALUE1 FIELD_NAME2=VALUE2 ...
       mdrepo del TABLE REC_ID
       mdrepo listTABLE
       mdrepo loadTABLE FILE_NAME
       mdrepo rsetTABLE
       mdrepo showTABLE REC_ID
       mdrepo updtTABLE REC_ID FIELD_NAME1=VALUE1 FIELD_NAME2=VALUE2 ...
As you can see, with four letter subcommands, space between a subcommand and TABLE is missing hence incorrect. It must be as follows.
$ ./mdrepo
: invalid command
Usage:
       mdrepo add  TABLE REC_ID FIELD_NAME1=VALUE1 FIELD_NAME2=VALUE2 ...
       mdrepo del  TABLE REC_ID
       mdrepo list TABLE
       mdrepo load TABLE FILE_NAME
       mdrepo rset TABLE
       mdrepo show TABLE REC_ID
       mdrepo updt TABLE REC_ID FIELD_NAME1=VALUE1 FIELD_NAME2=VALUE2 ...

-- TWiki:Main/HideyoImazu - 2021-03-03

ItemTemplate
Summary bin/mdrepo showing its command line usage untidy
ReportedBy TWiki:Main.HideyoImazu
Codebase ~twiki4
SVN Range TWiki-6.1.0-trunk, Thu, 05 Nov 2020, build 30858
AppliesTo Engine
Component

Priority Normal
CurrentState Waiting for Release
WaitingFor

Checkins TWikirev:30875 TWikirev:30876
TargetRelease patch
ReleasedIn

Topic revision: r1 - 2021-03-03 - HideyoImazu
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback