Skip to content

Commit

Permalink
Update commands list
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoryKogan committed Dec 19, 2023
1 parent 9db9327 commit f2da641
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ Simple implementation of FAT file system
- `help` - show this message
- `exit` - exit the program
- `clear` - clear the screen
<br /><br />
- `makefs <path> <size> <cluster_size>` - create a new file system
- `openfs <path>` - open an existing file system
- `fsinfo` - show file system info
<br /><br />
- `dirname <path>` - get the directory portion of a pathname
- `basename <path>` - get the filename portion of a pathname
- `pwd` - print current working directory
Expand All @@ -28,5 +32,6 @@ Simple implementation of FAT file system
- `rm [-r] <path>` - remove directory entries
- `cp [-r] <source> <destination>` - copy files and directories
- `mv [-r] <source> <destination>` - move files and directories
<br /><br />
- `import <host_path> <fs_path>` - import a file from the host file system
- `export <fs_path> <host_path>` - export a file to the host file system
2 changes: 1 addition & 1 deletion src/CLI/CLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ auto CLI::help() -> void {
std::cout << '\n';
std::cout << "-\t'makefs <path> <size> <cluster_size>' - create a new file system\n";
std::cout << "-\t'openfs <path>' - open an existing file system\n";
std::cout << '\n';
std::cout << "-\t'fsinfo' - show file system info\n";
std::cout << '\n';
std::cout << "-\t'dirname <path>' - get the directory portion of a pathname\n";
std::cout << "-\t'basename <path>' - get the filename portion of a pathname\n";
std::cout << "-\t'pwd' - print current working directory\n";
Expand Down

0 comments on commit f2da641

Please sign in to comment.