Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 1 addition & 5 deletions dockerc
Original file line number Diff line number Diff line change
Expand Up @@ -184,9 +184,6 @@ if [ "$(echo "$CONTEXT" | cut -c1)" = '@' ]; then
'rfc')
DOCKER_ARGS='container prune -f'
;;
'rfca')
DOCKER_ARGS='container prune -f -a'
;;
'rfi')
DOCKER_ARGS='image prune -f'
;;
Expand Down Expand Up @@ -216,8 +213,7 @@ if [ "$(echo "$CONTEXT" | cut -c1)" = '@' ]; then
echo ' args: Arguments passed to docker'
echo ' @preset:'
echo ' @rfc Remove unused containers'
echo ' @rfca Remove all unused containers'
echo ' @rfi Remove unused images'
echo ' @rfi Remove dangling images'
echo ' @rfia Remove all unused images'
echo ' @rf Remove unused containers, networks and images'
echo ' @rfa Remove all unused containers, networks and images'
Expand Down
3 changes: 1 addition & 2 deletions test/test/help_docker/test_help.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ def get_help_stdout(dockerc_path: str):
b' args: Arguments passed to docker\n'
b' @preset:\n'
b' @rfc Remove unused containers\n'
b' @rfca Remove all unused containers\n'
b' @rfi Remove unused images\n'
b' @rfi Remove dangling images\n'
b' @rfia Remove all unused images\n'
b' @rf Remove unused containers, networks and images\n'
b' @rfa Remove all unused containers, networks and images\n'
Expand Down