Fossil

Check-in [a90d0617]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix an oversight from the previous check-in: add the short form of the command-line option.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | reconstruct-sha3
Files: files | file ages | folders
SHA3-256: a90d0617d74204e6d1034c76c1de190a160996bce4b253ec84dfe7b86ccc02d1
User & Date: florian 2019-01-28 14:02:00
Wiki:reconstruct-sha3
Context
2019-01-29
14:01
Coding style fixes. check-in: 1d49b5ad user: florian tags: reconstruct-sha3
2019-01-28
14:02
Fix an oversight from the previous check-in: add the short form of the command-line option. check-in: a90d0617 user: florian tags: reconstruct-sha3
10:18
Add the new option --keep-rid1 for the 'deconstruct' and 'reconstruct' commands. check-in: 79b51366 user: florian tags: reconstruct-sha3
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/rebuild.c.

1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
**    -K|--keep-rid1    Read the filename of the artifact with
**                      RID=1 from the file .rid in DIRECTORY.
**
** See also: deconstruct, rebuild
*/
void reconstruct_cmd(void) {
  char *zPassword;
  fKeepRid1 = find_option("keep-rid1",0,0)!=0;
  if( g.argc!=4 ){
    usage("FILENAME DIRECTORY");
  }
  if( file_isdir(g.argv[3], ExtFILE)!=1 ){
    fossil_print("\"%s\" is not a directory\n\n", g.argv[3]);
    usage("FILENAME DIRECTORY");
  }







|







1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
**    -K|--keep-rid1    Read the filename of the artifact with
**                      RID=1 from the file .rid in DIRECTORY.
**
** See also: deconstruct, rebuild
*/
void reconstruct_cmd(void) {
  char *zPassword;
  fKeepRid1 = find_option("keep-rid1","K",0)!=0;
  if( g.argc!=4 ){
    usage("FILENAME DIRECTORY");
  }
  if( file_isdir(g.argv[3], ExtFILE)!=1 ){
    fossil_print("\"%s\" is not a directory\n\n", g.argv[3]);
    usage("FILENAME DIRECTORY");
  }