comparison debug.c @ 2189:6b33ce6bc740

Add an explicit p alias for the print command now that printf prevents use of it as an implicit alias
author Michael Pavone <pavone@retrodev.com>
date Sat, 20 Aug 2022 11:41:41 -0700
parents e17d99c96c89
children 59e0dcc01b2c
comparison
equal deleted inserted replaced
2188:e17d99c96c89 2189:6b33ce6bc740
1916 .min_args = 0, 1916 .min_args = 0,
1917 .max_args = 0 1917 .max_args = 0
1918 }, 1918 },
1919 { 1919 {
1920 .names = (const char *[]){ 1920 .names = (const char *[]){
1921 "print", NULL 1921 "print", "p", NULL
1922 }, 1922 },
1923 .usage = "print[/FORMAT] EXPRESSION...", 1923 .usage = "print[/FORMAT] EXPRESSION...",
1924 .desc = "Print one or more expressions using the optional format character", 1924 .desc = "Print one or more expressions using the optional format character",
1925 .impl = cmd_print, 1925 .impl = cmd_print,
1926 .min_args = 1, 1926 .min_args = 1,