mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-29 07:57:20 +02:00
Legacy
- Added legacy warnings about use of fg: or bg:.
This commit is contained in:
parent
1c98544380
commit
ab931b6af2
3 changed files with 7 additions and 4 deletions
|
@ -469,6 +469,10 @@ void Command::modify_task (
|
|||
// By default, just add it.
|
||||
else
|
||||
task.set (name, result);
|
||||
|
||||
// Legacy checks.
|
||||
if (name == "fg" || name == "bg")
|
||||
context.footnote (format (STRING_LEGACY_FEATURE, name));
|
||||
}
|
||||
else
|
||||
throw format (STRING_CMD_ADD_BAD_ATTRIBUTE, name);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue