Currently only supports Unix time. ‘get’ subcommand returns date in format “Y-m-d H:M:S” ‘set’ subcommand format is ‘[Y-m-d] <H:M:S>’ The ‘set’ subcommand is implemented with basic date validation. For user convenience of small adjustments to time the time argument will accept H:M:S, :M:S or ::S where the missing field(s) will be filled in by the previous time state. Signed-off-by: Nick Ward <nix.ward@gmail.com>
22 lines
517 B
Plaintext
22 lines
517 B
Plaintext
# Shell configuration options
|
|
|
|
# Copyright (c) 2016 Intel Corporation
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
config KERNEL_SHELL
|
|
bool "Enable kernel shell"
|
|
help
|
|
This shell provides access to basic kernel data like version, uptime
|
|
and other useful information.
|
|
|
|
config DEVICE_SHELL
|
|
bool "Enable device shell"
|
|
help
|
|
This shell provides access to basic device data.
|
|
|
|
config DATE_SHELL
|
|
bool "Enable date shell"
|
|
depends on POSIX_CLOCK
|
|
help
|
|
This shell provides access to date and time based on Unix time.
|