Rename the list classpath command to list dependencies

This commit is contained in:
Ben Gruver 2016-09-18 13:49:11 -07:00
parent 31ad2bc100
commit 1d26e1be09
2 changed files with 6 additions and 6 deletions

View File

@ -67,7 +67,7 @@ public class ListCommand extends Command {
ExtendedCommands.addExtendedCommand(jc, new ListDexCommand(hierarchy)); ExtendedCommands.addExtendedCommand(jc, new ListDexCommand(hierarchy));
ExtendedCommands.addExtendedCommand(jc, new ListVtablesCommand(hierarchy)); ExtendedCommands.addExtendedCommand(jc, new ListVtablesCommand(hierarchy));
ExtendedCommands.addExtendedCommand(jc, new ListFieldOffsetsCommand(hierarchy)); ExtendedCommands.addExtendedCommand(jc, new ListFieldOffsetsCommand(hierarchy));
ExtendedCommands.addExtendedCommand(jc, new ListClassPathCommand(hierarchy)); ExtendedCommands.addExtendedCommand(jc, new ListDependenciesCommand(hierarchy));
ExtendedCommands.addExtendedCommand(jc, new ListHelpCommand(hierarchy)); ExtendedCommands.addExtendedCommand(jc, new ListHelpCommand(hierarchy));
ExtendedCommands.addExtendedCommand(jc, new ListHlepCommand(hierarchy)); ExtendedCommands.addExtendedCommand(jc, new ListHlepCommand(hierarchy));
} }

View File

@ -47,11 +47,11 @@ import javax.annotation.Nonnull;
import java.io.*; import java.io.*;
import java.util.List; import java.util.List;
@Parameters(commandDescription = "Lists the stored classpath entries in an odex/oat file.") @Parameters(commandDescription = "Lists the stored dependencies in an odex/oat file.")
@ExtendedParameters( @ExtendedParameters(
commandName = "classpath", commandName = "dependencies",
commandAliases = { "bootclasspath", "cp", "bcp" }) commandAliases = { "deps", "dep" })
public class ListClassPathCommand extends Command { public class ListDependenciesCommand extends Command {
@Parameter(names = {"-h", "-?", "--help"}, help = true, @Parameter(names = {"-h", "-?", "--help"}, help = true,
description = "Show usage information") description = "Show usage information")
@ -61,7 +61,7 @@ public class ListClassPathCommand extends Command {
@ExtendedParameter(argumentNames = "file") @ExtendedParameter(argumentNames = "file")
private List<String> inputList = Lists.newArrayList(); private List<String> inputList = Lists.newArrayList();
public ListClassPathCommand(@Nonnull List<JCommander> commandAncestors) { public ListDependenciesCommand(@Nonnull List<JCommander> commandAncestors) {
super(commandAncestors); super(commandAncestors);
} }