]> Git Repo - J-u-boot.git/blob - cmd/history.c
configs: Remove duplicate newlines
[J-u-boot.git] / cmd / history.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright 2023 Google LLC
4  * Written by Simon Glass <[email protected]>
5  */
6
7 #include <command.h>
8 #include <cli.h>
9
10 static int do_history(struct cmd_tbl *cmdtp, int flag, int argc,
11                       char *const argv[])
12 {
13         cread_print_hist_list();
14
15         return 0;
16 }
17
18 U_BOOT_CMD(
19         history,        CONFIG_SYS_MAXARGS,     1,      do_history,
20         "print command history",
21         ""
22 );
This page took 0.022479 seconds and 4 git commands to generate.