# HG changeset patch # User David Demelier # Date 1608580599 -3600 # Node ID 78a4062bed62a63f485695063a5038fd2f4dd48c # Parent 425a88f0877cf7f4260e0ffc4c48aa1030565cc4 misc: use day by default diff -r 425a88f0877c -r 78a4062bed62 page-new.c --- a/page-new.c Mon Dec 21 20:51:17 2020 +0100 +++ b/page-new.c Mon Dec 21 20:56:39 2020 +0100 @@ -121,7 +121,8 @@ .title = estrdup("Untitled"), .language = estrdup("nohighlight"), .code = estrdup(""), - .visible = true + .visible = true, + .duration = PASTE_DURATION_DAY }; for (size_t i = 0; i < r->fieldsz; ++i) { diff -r 425a88f0877c -r 78a4062bed62 paster.1.in --- a/paster.1.in Mon Dec 21 20:51:17 2020 +0100 +++ b/paster.1.in Mon Dec 21 20:56:39 2020 +0100 @@ -68,7 +68,7 @@ .Dq "nohighlight" . .It Fl d Ar duration Sets the paste lifetime, defaults to -.Dq "month" . +.Dq "day" . .It Fl t Ar title Sets a title to the paste, defaults to .Dq "Untitled" . diff -r 425a88f0877c -r 78a4062bed62 paster.sh --- a/paster.sh Mon Dec 21 20:51:17 2020 +0100 +++ b/paster.sh Mon Dec 21 20:56:39 2020 +0100 @@ -19,7 +19,7 @@ author="Anonymous" language="nohighlight" title="Untitled" -duration="month" +duration="day" public=0 verbose=0