<commit_before>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include <iostream>

#include "color.hh"
#include "print_helper.hh"

void print_usage(const char* program_name)
{
    using namespace std;
    cerr << BOLD("Usage:") << endl
         << "  " << program_name
         << " <packagelist> <command> <packages>" << endl
         << "  <packagelist> is a file that has a list of package, "
            "url pairs."
         << endl
         << "  <command> is update, install, or remove." << endl
         << "    - Abreviations of u, i, and r, respectively, can be "
            "used."
         << endl
         << "  <packages> are the packages you want to <command>."
         << endl
         << "    - Can be empty if <command> is update, in which "
            "case it "
            "updates all the packages."
         << endl;
}<commit_msg>Document search feature<commit_after>/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#include <iostream>

#include "color.hh"
#include "print_helper.hh"

void print_usage(const char* program_name)
{
    using namespace std;
    cerr << BOLD("Usage:") << endl
         << "  " << program_name
         << " <packagelist> <command> <packages>" << endl
         << "  <packagelist> is a file that has a list of package, "
            "url pairs."
         << endl
         << "  <command> is update, install, remove, search, or new "
            "or init."
         << endl
         << "    - Abreviations of u, i, r, and s, respectively, can "
            "be "
            "used."
         << endl
         << "  <packages> are the packages you want to <command>."
         << endl
         << "    - Can be empty if <command> is update, in which "
            "case it "
            "updates all the packages."
         << endl;
}
{'fraction_non_alphanumeric': 0.12791250594388967, 'fraction_numerical': 0.0038040893961008085, 'mean_word_length': 1.9262865090403338, 'pattern_counts': {'":': 0, '<': 85, '<?xml version=': 0, '>': 21, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5406463', 'n_tokens_mistral': 631, 'n_tokens_neox': 611, 'n_words': 231}