Fossil SCM

Add -e as a short option for --edit-comment in fossil amend.

rberteig 2016-02-26 18:42 trunk merge
Commit 9ea1f140436a1907c3c7fd84be05ccb4723ca9b5
1 file changed +2 -2
+2 -2
--- src/info.c
+++ src/info.c
@@ -2799,11 +2799,11 @@
27992799
** Options:
28002800
**
28012801
** --author USER Make USER the author for check-in
28022802
** -m|--comment COMMENT Make COMMENT the check-in comment
28032803
** -M|--message-file FILE Read the amended comment from FILE
2804
-** --edit-comment Launch editor to revise comment
2804
+** -e|--edit-comment Launch editor to revise comment
28052805
** --date DATE Make DATE the check-in time
28062806
** --bgcolor COLOR Apply COLOR to this check-in
28072807
** --branchcolor COLOR Apply and propagate COLOR to the branch
28082808
** --tag TAG Add new TAG to this check-in
28092809
** --cancel TAG Cancel TAG from this check-in
@@ -2841,11 +2841,11 @@
28412841
int nTags, nCancels;
28422842
int i;
28432843
Stmt q;
28442844
28452845
if( g.argc==3 ) usage(AMEND_USAGE_STMT);
2846
- fEditComment = find_option("edit-comment",0,0)!=0;
2846
+ fEditComment = find_option("edit-comment","e",0)!=0;
28472847
zNewComment = find_option("comment","m",1);
28482848
zComFile = find_option("message-file","M",1);
28492849
zNewBranch = find_option("branch",0,1);
28502850
zNewColor = find_option("bgcolor",0,1);
28512851
zNewBrColor = find_option("branchcolor",0,1);
28522852
--- src/info.c
+++ src/info.c
@@ -2799,11 +2799,11 @@
2799 ** Options:
2800 **
2801 ** --author USER Make USER the author for check-in
2802 ** -m|--comment COMMENT Make COMMENT the check-in comment
2803 ** -M|--message-file FILE Read the amended comment from FILE
2804 ** --edit-comment Launch editor to revise comment
2805 ** --date DATE Make DATE the check-in time
2806 ** --bgcolor COLOR Apply COLOR to this check-in
2807 ** --branchcolor COLOR Apply and propagate COLOR to the branch
2808 ** --tag TAG Add new TAG to this check-in
2809 ** --cancel TAG Cancel TAG from this check-in
@@ -2841,11 +2841,11 @@
2841 int nTags, nCancels;
2842 int i;
2843 Stmt q;
2844
2845 if( g.argc==3 ) usage(AMEND_USAGE_STMT);
2846 fEditComment = find_option("edit-comment",0,0)!=0;
2847 zNewComment = find_option("comment","m",1);
2848 zComFile = find_option("message-file","M",1);
2849 zNewBranch = find_option("branch",0,1);
2850 zNewColor = find_option("bgcolor",0,1);
2851 zNewBrColor = find_option("branchcolor",0,1);
2852
--- src/info.c
+++ src/info.c
@@ -2799,11 +2799,11 @@
2799 ** Options:
2800 **
2801 ** --author USER Make USER the author for check-in
2802 ** -m|--comment COMMENT Make COMMENT the check-in comment
2803 ** -M|--message-file FILE Read the amended comment from FILE
2804 ** -e|--edit-comment Launch editor to revise comment
2805 ** --date DATE Make DATE the check-in time
2806 ** --bgcolor COLOR Apply COLOR to this check-in
2807 ** --branchcolor COLOR Apply and propagate COLOR to the branch
2808 ** --tag TAG Add new TAG to this check-in
2809 ** --cancel TAG Cancel TAG from this check-in
@@ -2841,11 +2841,11 @@
2841 int nTags, nCancels;
2842 int i;
2843 Stmt q;
2844
2845 if( g.argc==3 ) usage(AMEND_USAGE_STMT);
2846 fEditComment = find_option("edit-comment","e",0)!=0;
2847 zNewComment = find_option("comment","m",1);
2848 zComFile = find_option("message-file","M",1);
2849 zNewBranch = find_option("branch",0,1);
2850 zNewColor = find_option("bgcolor",0,1);
2851 zNewBrColor = find_option("branchcolor",0,1);
2852

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button