Skip to content

Commit

Permalink
remove 'sync' from default verbose flags
Browse files Browse the repository at this point in the history
  • Loading branch information
djmitche committed Apr 7, 2024
1 parent b5aa7c6 commit 9e651ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion doc/man/taskrc.5.in
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ and the "nothing" setting is equivalent to none of the tokens being specified.
Here are the shortcut equivalents:

verbose=on
verbose=blank,header,footnote,label,new-id,affected,edit,special,project,sync,filter,override,recur
verbose=blank,header,footnote,label,new-id,affected,edit,special,project,filter,override,recur

verbose=0
verbose=blank,label,new-id,edit
Expand Down
5 changes: 2 additions & 3 deletions src/Context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ std::string configurationDefaults =
"# Miscellaneous\n"
"# verbose= # Comma-separated list. May contain any subset of:\n"
"# affected,blank,context,default,edit,filter,footnote,header,label,new-id,new-uuid,override,project,recur,special,sync\n"
"verbose=affected,blank,context,edit,header,footnote,label,new-id,project,special,sync,override,recur\n"
"verbose=affected,blank,context,edit,header,footnote,label,new-id,project,special,override,recur\n"
"confirmation=1 # Confirmation on delete, big changes\n"
"recurrence=1 # Enable recurrence\n"
"recurrence.confirmation=prompt # Confirmation for propagating changes among recurring tasks (yes/no/prompt)\n"
Expand Down Expand Up @@ -1056,8 +1056,7 @@ bool Context::verbose (const std::string& token)
v != "override" && //
v != "project" && //
v != "recur" && //
v != "special" && //
v != "sync")
v != "special")
{
// This list emulates rc.verbose=off in version 1.9.4.
verbosity = {"blank", "label", "new-id", "edit"};
Expand Down

0 comments on commit 9e651ae

Please sign in to comment.