Changeset ab936440 in mainline for uspace/app/bdsh/cmds/modules/alias/alias.c
- Timestamp:
- 2019-02-12T20:42:42Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f31ca47
- Parents:
- 7f7817a9 (diff), 4805495 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - git-author:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:26:18)
- git-committer:
- Matthieu Riolo <matthieu.riolo@…> (2019-02-12 20:42:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/bdsh/cmds/modules/alias/alias.c
r7f7817a9 rab936440 60 60 return true; 61 61 } 62 62 63 63 cli_error(CL_ENOENT, "%s: No alias with the name '%s' exists\n", cmdname, name); 64 64 return false; … … 123 123 int cmd_alias(char **argv) 124 124 { 125 125 126 126 if (argv[1] == NULL) { 127 127 list_aliases(); … … 140 140 return CMD_FAILURE; 141 141 } 142 142 143 143 set_alias(name, value + 1); 144 144 } else { … … 151 151 free(name); 152 152 } 153 153 154 154 return CMD_SUCCESS; 155 155 }
Note:
See TracChangeset
for help on using the changeset viewer.