add flag to clean/restore all with confirmation

also swap case on date filter flags
This commit is contained in:
Lilian Jónsdóttir 2024-07-16 11:12:37 -07:00
parent 5c02d96dc2
commit 2d0d5bad1e
2 changed files with 36 additions and 26 deletions

View file

@ -180,7 +180,7 @@ func (m model) Update(msg tea.Msg) (tea.Model, tea.Cmd) {
var cmd tea.Cmd
if m.once {
return m.quit(true)
return m.quit(m.readonly)
}
switch msg := msg.(type) {