Fossil SCM

Change the new `-u|--user' option of the `timeline' command to `-u|--for-user' to avoid conflicts with the global `-U|--user' option.

florian 2025-10-10 05:26 trunk
Commit f4240ecc3227d0d4db511cf9ca83566d71ae1e63138bfe2160ef2fb67e70fb36
1 file changed +2 -2
+2 -2
--- src/timeline.c
+++ src/timeline.c
@@ -3644,11 +3644,11 @@
36443644
** ci = file commits only
36453645
** e = technical notes only
36463646
** f = forum posts only
36473647
** t = tickets only
36483648
** w = wiki commits only
3649
-** -u|--user USER Only show items associated with USER
3649
+** -u|--for-user USER Only show items associated with USER
36503650
** -v|--verbose Output the list of files changed by each commit
36513651
** and the type of each change (edited, deleted,
36523652
** etc.) after the check-in comment.
36533653
** -W|--width N Width of lines (default is to auto-detect). N must be
36543654
** either greater than 20 or it must be zero 0 to
@@ -3684,11 +3684,11 @@
36843684
}
36853685
db_find_and_open_repository(0, 0);
36863686
zLimit = find_option("limit","n",1);
36873687
zWidth = find_option("width","W",1);
36883688
zType = find_option("type","t",1);
3689
- zUser = find_option("user","u",1);
3689
+ zUser = find_option("for-user","u",1);
36903690
zFilePattern = find_option("path","p",1);
36913691
zFormat = find_option("format","F",1);
36923692
zBr = find_option("branch","b",1);
36933693
if( find_option("current-branch","c",0)!=0 ){
36943694
if( !g.localOpen ){
36953695
--- src/timeline.c
+++ src/timeline.c
@@ -3644,11 +3644,11 @@
3644 ** ci = file commits only
3645 ** e = technical notes only
3646 ** f = forum posts only
3647 ** t = tickets only
3648 ** w = wiki commits only
3649 ** -u|--user USER Only show items associated with USER
3650 ** -v|--verbose Output the list of files changed by each commit
3651 ** and the type of each change (edited, deleted,
3652 ** etc.) after the check-in comment.
3653 ** -W|--width N Width of lines (default is to auto-detect). N must be
3654 ** either greater than 20 or it must be zero 0 to
@@ -3684,11 +3684,11 @@
3684 }
3685 db_find_and_open_repository(0, 0);
3686 zLimit = find_option("limit","n",1);
3687 zWidth = find_option("width","W",1);
3688 zType = find_option("type","t",1);
3689 zUser = find_option("user","u",1);
3690 zFilePattern = find_option("path","p",1);
3691 zFormat = find_option("format","F",1);
3692 zBr = find_option("branch","b",1);
3693 if( find_option("current-branch","c",0)!=0 ){
3694 if( !g.localOpen ){
3695
--- src/timeline.c
+++ src/timeline.c
@@ -3644,11 +3644,11 @@
3644 ** ci = file commits only
3645 ** e = technical notes only
3646 ** f = forum posts only
3647 ** t = tickets only
3648 ** w = wiki commits only
3649 ** -u|--for-user USER Only show items associated with USER
3650 ** -v|--verbose Output the list of files changed by each commit
3651 ** and the type of each change (edited, deleted,
3652 ** etc.) after the check-in comment.
3653 ** -W|--width N Width of lines (default is to auto-detect). N must be
3654 ** either greater than 20 or it must be zero 0 to
@@ -3684,11 +3684,11 @@
3684 }
3685 db_find_and_open_repository(0, 0);
3686 zLimit = find_option("limit","n",1);
3687 zWidth = find_option("width","W",1);
3688 zType = find_option("type","t",1);
3689 zUser = find_option("for-user","u",1);
3690 zFilePattern = find_option("path","p",1);
3691 zFormat = find_option("format","F",1);
3692 zBr = find_option("branch","b",1);
3693 if( find_option("current-branch","c",0)!=0 ){
3694 if( !g.localOpen ){
3695

Keyboard Shortcuts

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