Allow an ``at now'' specification.
PR: 32242 Submitted by: Alan E <alane@geeksrus.net> MFC after: 3 weeks
This commit is contained in:
parent
c36e48514d
commit
bafdc304b0
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86848
@ -579,7 +579,11 @@ parsetime(int argc, char **argv)
|
||||
init_scanner(argc-optind, argv+optind);
|
||||
|
||||
switch (token()) {
|
||||
case NOW: /* now is optional prefix for PLUS tree */
|
||||
case NOW:
|
||||
if (scc < 1) {
|
||||
return nowtimer;
|
||||
}
|
||||
/* now is optional prefix for PLUS tree */
|
||||
expect(PLUS);
|
||||
case PLUS:
|
||||
plus(&runtime);
|
||||
|
Loading…
Reference in New Issue
Block a user