|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
Help Command (Team Foundation Source Control)
Displays a help topic that contains detailed information about a Team Foundation command.
Specifies a Team Foundation command for which to display a help topic.
If you do not know which command you need, type tf help for a list of command reference topics and links to additional resources. By using the help command without specifying a commandname parameter displays a list of all commands together with usage requirements and a description.
If you specify the commandname parameter, the Help dialog box opens to that specific command. If an exact match for the commandname is not found, aliases and short names are searched. If no matching command, alias, or short name is found, an error is reported.
The option /? is an alias for help. If you use the /? option together with a command, the help command is invoked and its help topic is displayed.
The following example displays a list of the source control commands including a brief explanation of syntax.
c:\projects> tf help
The following example displays detailed information about the dir command.
c:\projects>tf help dir
The following example displays information about the dir command.
c:\projects>tf dir /?