From fa0ca4b2c8965f42f9cd62d3143cb9bb22792186 Mon Sep 17 00:00:00 2001 From: Amine LOUHICHI Date: Sun, 9 Mar 2025 01:06:28 +0100 Subject: [PATCH] Update documentation for the Vagrant validate command --- website/content/docs/cli/validate.mdx | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/website/content/docs/cli/validate.mdx b/website/content/docs/cli/validate.mdx index 89c630859bc..28d2393d8dc 100644 --- a/website/content/docs/cli/validate.mdx +++ b/website/content/docs/cli/validate.mdx @@ -16,7 +16,17 @@ This command validates your [Vagrantfile](/vagrant/docs/vagrantfile/). ## Examples +Validate the syntax of the Vagrantfile to ensure it is correctly structured and free of errors + ```shell-session $ vagrant validate Vagrantfile validated successfully. ``` + +Ensure that the Vagrantfile is correctly structured while ignoring provider-specific configuration options: + +```shell-session +$ vagrant validate --ignore-provider virtualbox +==> default: Ignoring provider config for validation... +Vagrantfile validated successfully. +``` \ No newline at end of file