/**
 * Display an explanation of arguments accepted by this program.
 *
 * @param [in] programName The name of this program.
 */
static void
_displayUsage(char *programName)
{
    printf("\n%s\n%s, %s\n\n", tutorialAbout_Version(), tutorialAbout_Name(), programName);

    printf(" This example file server application can provide access to files in the specified directory.\n");
    printf(" A CCNx forwarder (e.g. Metis) must be running before running it. Once running, the peer\n");
    printf(" tutorialClient application can request a listing or a specified file.\n\n");

    printf("Usage: %s [-h] [-v] <directory path>\n", programName);
    printf("  '%s ~/files' will serve the files in ~/files\n", programName);
    printf("  '%s -v' will show the tutorial demo code version\n", programName);
    printf("  '%s -h' will show this help\n\n", programName);
}
/**
 * Display an explanation of arguments accepted by this program.
 *
 * @param [in] programName The name of this program.
 */
static void
_displayUsage(char *programName)
{
    printf("\n%s\n%s, %s\n\n", tutorialAbout_Version(), tutorialAbout_Name(), programName);

    printf(" This example application can retrieve a specified file or the list of available files from\n");
    printf(" the tutorialServer application, which should be running when this application is used. A CCNx\n");
    printf(" forwarder (e.g. Metis) must also be running.\n\n");

    printf("Usage: %s  [-h] [-v] [ list | fetch <filename> ]\n", programName);
    printf("  '%s list' will list the files in the directory served by tutorial_Server\n", programName);
    printf("  '%s fetch <filename>' will fetch the specified filename\n", programName);
    printf("  '%s -v' will show the tutorial demo code version\n", programName);
    printf("  '%s -h' will show this help\n\n", programName);
}